[FFmpeg-devel] [SCISYS Possible Spam] Re: [PATCH] Patch for memory optimization with QuickTime/MP4

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Dec 2 12:29:15 EET 2019

Am Mo., 2. Dez. 2019 um 11:06 Uhr schrieb Jörg Beckmann
<Joerg.Beckmann at scisys.com>:

> The for-loop and the warning are copied from somewhere else in the decoder. I'm also quite sure that it cannot really happen.

Then use an assert().

> One cannot set the option to discard old frames and also try to seek. I did not manage to create an example with calls to switch_root while reading from a file. But if it is possible somehow and the option is set, there are no old fragments to seek in. Therefore I think, seek should be forbidden if the option is set.

But if you read from a file and use the option, seeking does not work
although it would be possible or do I misunderstand?

Please find out what top-posting means and avoid it here.

Carl Eugen

More information about the ffmpeg-devel mailing list