[FFmpeg-devel] [PATCH] cafdec: return right code if EOF is reached
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Nov 20 12:50:44 CET 2012
Paul B Mahol <onemda <at> gmail.com> writes:
> +++ b/libavformat/cafdec.c
> @@ -343,7 +343,7 @@ static int read_packet
> int64_t left = CAF_MAX_PKT_SIZE;
>
> if (url_feof(pb))
> - return AVERROR(EIO);
> + return AVERROR_EOF;
On which sample did you test this?
(I used http://samples.ffmpeg.org/A-codecs/caf/testcaf3.caf )
Carl Eugen
More information about the ffmpeg-devel
mailing list