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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to