[FFmpeg-devel] [PATCH] ffmpeg: add progress speed to status line and report
Moritz Barsnick
barsnick at gmx.net
Wed Dec 16 15:34:30 CET 2015
On Wed, Dec 16, 2015 at 15:28:31 +0100, Nicolas George wrote:
> > BTW, these two are used quite often in this function and sort of beg
> > for macros, but I don't go around macro-ifying code just for the fun of
> > it. ;-)
>
> No need for macros, there is the av_bprint() API for that.
*shrug* OT basically. I'm just saying, but that's not my code, except
that I'm trying to add to it.
It just seems tedious:
$ grep -Fc 'snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf),' ffmpeg.c
16
$ grep -Fc 'av_bprintf(&buf_script,' ffmpeg.c
17
[Albeit after my patch.]
Moritz
More information about the ffmpeg-devel
mailing list