[FFmpeg-cvslog] r22664 - trunk/libavdevice/oss_audio.c
stefano
subversion
Thu Mar 25 01:41:55 CET 2010
Author: stefano
Date: Thu Mar 25 01:41:54 2010
New Revision: 22664
Log:
Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
AVERROR(-1) = 1.
Modified:
trunk/libavdevice/oss_audio.c
Modified: trunk/libavdevice/oss_audio.c
==============================================================================
--- trunk/libavdevice/oss_audio.c Thu Mar 25 00:06:58 2010 (r22663)
+++ trunk/libavdevice/oss_audio.c Thu Mar 25 01:41:54 2010 (r22664)
@@ -256,7 +256,7 @@ static int audio_read_packet(AVFormatCon
av_free_packet(pkt);
pkt->size = 0;
if (ret<0) return AVERROR(errno);
- else return AVERROR(EOF);
+ else return AVERROR_EOF;
}
pkt->size = ret;
More information about the ffmpeg-cvslog
mailing list