[Ffmpeg-devel] [bug] flvdec demux

Tom Harper d.thomas.harper
Sat Feb 3 02:00:07 CET 2007


Hi,

So I found that size can == 1 in some circumstances and so
av_get_packet gets passed size 0, and returns 0, which is
valid (i.e. not an io error).  In loop a return value of 0 is just
the continue case so this should be ok, and it works with
my test case.  AV_ERROR_IO seems exceessive in this case.

This is with a file encoded with MP3/lame and FLV1 by
ffmpeg.

Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flv_dec.patch
Type: application/octet-stream
Size: 418 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070202/b0babfc1/attachment.obj>



More information about the ffmpeg-devel mailing list