[FFmpeg-devel] [PATCH] segafilm: signal EOF
Michael Niedermayer
michaelni at gmx.at
Wed Nov 21 23:52:07 CET 2012
On Wed, Nov 21, 2012 at 05:13:49PM +0100, Piotr Bandurski wrote:
>
> diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
> index 359d109..a33ad85 100644
> --- a/libavformat/segafilm.c
> +++ b/libavformat/segafilm.c
> @@ -248,7 +248,7 @@ static int film_read_packet(AVFormatContext *s,
> int left, right;
>
> if (film->current_sample >= film->sample_count)
> - return AVERROR(EIO);
> + return AVERROR_EOF;
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121121/6561c5b2/attachment.asc>
More information about the ffmpeg-devel
mailing list