[FFmpeg-devel] [PATCH] bethsoftvid: signal EOF

Michael Niedermayer michaelni at gmx.at
Wed Nov 21 23:20:08 CET 2012


On Wed, Nov 21, 2012 at 05:04:22PM +0100, Piotr Bandurski wrote:
> diff --git a/libavformat/bethsoftvid.c b/libavformat/bethsoftvid.c
> index f17031a..831bdd2 100644
> --- a/libavformat/bethsoftvid.c
> +++ b/libavformat/bethsoftvid.c
> @@ -210,7 +210,7 @@ static int vid_read_packet(AVFormatContext *s,
>      int ret_value;
>  
>      if(vid->is_finished || url_feof(pb))
> -        return AVERROR(EIO);
> +        return AVERROR_EOF;

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/af236c4d/attachment.asc>


More information about the ffmpeg-devel mailing list