[FFmpeg-devel] [PATCH 8/8] ffmdec: don't seek back at EOF
andreas.cadhalpun at googlemail.com
Mon Mar 9 12:27:15 CET 2015
On 09.03.2015 03:46, Michael Niedermayer wrote:
> On Mon, Mar 09, 2015 at 12:05:31AM +0100, Andreas Cadhalpun wrote:
>> I'm not sure what the purpose of this avio_seek was, but it can
>> result in an endless loop. Maybe it always does.
> ffm files can be written to and read at the same time, they can act
> as ring buffers so that data is written till the end and then
> continues at the begin
> i suspect this patch breaks that
But if the file is not used as a ring buffer, it shouldn't play endlessly.
Maybe one should add a check that the data at the beginning is actually
different than the last time?
More information about the ffmpeg-devel