[Ffmpeg-devel] Re: [PATCH] Pass loop_input through AVFormatContext instead of global.

Rich Felker dalias
Tue Jun 28 17:44:15 CEST 2005


On Tue, Jun 28, 2005 at 10:56:17AM +0200, Michael Niedermayer wrote:
> Hi
> 
> On Saturday 18 June 2005 11:16, Todd Kirby wrote:
> > Attached is an updated patch since the old one no longer applies
> > cleanly now that the loop_output/animated gif patch has been applied.
> > This one increments avformat build number also.
> 
> IMHO this should be implemented in a more generic way (seek to begin at end) 
> that way it would work with all formats and not just images

There's no reason the format should know or care that you're looping.
This is the job of the program calling libavformat, not libavformat
itself. If Todd looked he would see that this is not a "global"
variable in the sense that it's not used anywhere but ffmpeg itself.

Rich





More information about the ffmpeg-devel mailing list