OSDN Git Service

Make electronicarts demuxer return partial frames, this is the default
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2009 10:38:56 +0000 (10:38 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 11 Apr 2009 10:38:56 +0000 (10:38 +0000)
commitf772b7fa7d57cba2e81727c7af29110f9556f06f
tree9fed5fa03e8a382f7fe29f2a38a8f61493b037c8
parentfacf521daac38b434adb7a1115cf654b0ae7e7e3
Make electronicarts demuxer return partial frames, this is the default
behaviour of av_get_packet and should not be override without good reason.
As a side effect this fixes the memleak described in issue 956.
Also return the exact error code from av_get_packet instead of AVERROR(EIO).

Originally committed as revision 18428 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/electronicarts.c