mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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
This commit is contained in:
1 parent
b1cc5540e7
commit
bd01c39330
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user