[FFmpeg-devel] [PATCH] img2: added support for %t output pattern

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Dec 19 18:58:31 CET 2011


On Mon, Dec 19, 2011 at 09:45:37AM +0000, Carl Eugen Hoyos wrote:
> Yuval Adam <yuv.adm <at> gmail.com> writes:
> 
> > diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> 
> >  int av_get_frame_filename(char *buf, int buf_size,
> > -                          const char *path, int number);
> > +                          const char *path, int number, int ts);
> 
> You cannot simply change public function's parameter, that breaks API/ABI.

To be more explicit:
Also rename it to av_get_frame_filename2, then add a
av_get_frame_filename that has the same parameters as before and
just calls av_get_frame_filename2.
Lastly, add some ifdefs so that av_get_frame_filename disappears
on the next major version bump.


More information about the ffmpeg-devel mailing list