Commit bd01c393 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =

AVERROR(-1) = 1.

Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b1cc5540
......@@ -256,7 +256,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
av_free_packet(pkt);
pkt->size = 0;
if (ret<0) return AVERROR(errno);
else return AVERROR(EOF);
else return AVERROR_EOF;
}
pkt->size = ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment