Re: [FFmpeg-devel] [PATCH 8/8] ffmdec: don't seek back at EOF

2015-03-09 Thread Michael Niedermayer
On Mon, Mar 09, 2015 at 12:27:15PM +0100, Andreas Cadhalpun wrote: > On 09.03.2015 03:46, Michael Niedermayer wrote: > >On Mon, Mar 09, 2015 at 12:05:31AM +0100, Andreas Cadhalpun wrote: > >>Hi, > >> > >>I'm not sure what the purpose of this avio_seek was, but it can > >>result in an endless loop.

Re: [FFmpeg-devel] [PATCH 8/8] ffmdec: don't seek back at EOF

2015-03-09 Thread Andreas Cadhalpun
On 09.03.2015 03:46, Michael Niedermayer wrote: On Mon, Mar 09, 2015 at 12:05:31AM +0100, Andreas Cadhalpun wrote: Hi, 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 c

Re: [FFmpeg-devel] [PATCH 8/8] ffmdec: don't seek back at EOF

2015-03-08 Thread Michael Niedermayer
On Mon, Mar 09, 2015 at 12:05:31AM +0100, Andreas Cadhalpun wrote: > Hi, > > 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 writt