diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-25 00:41:54 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-03-25 00:41:54 +0000 |
commit | bd01c39330280313eebab7594168cae6180a6aef (patch) | |
tree | 0b6cfd73c17598e3619222e4825550e3c09be18d | |
parent | b1cc5540e765e0e44e81f9ad55ad7c21438c3294 (diff) | |
download | ffmpeg-bd01c39330280313eebab7594168cae6180a6aef.tar.gz |
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
-rw-r--r-- | libavdevice/oss_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c index c1b244af72..8e4dbf2fc4 100644 --- a/libavdevice/oss_audio.c +++ b/libavdevice/oss_audio.c @@ -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; |