[FFmpeg-cvslog] r17457 - trunk/libavformat/flvdec.c
pross
subversion
Thu Feb 19 13:19:56 CET 2009
Author: pross
Date: Thu Feb 19 13:19:55 2009
New Revision: 17457
Log:
FLV demuxer: return AVERROR_EOF upon detection of end of file.
Modified:
trunk/libavformat/flvdec.c
Modified: trunk/libavformat/flvdec.c
==============================================================================
--- trunk/libavformat/flvdec.c Thu Feb 19 13:19:33 2009 (r17456)
+++ trunk/libavformat/flvdec.c Thu Feb 19 13:19:55 2009 (r17457)
@@ -320,7 +320,7 @@ static int flv_read_packet(AVFormatConte
dts |= get_byte(s->pb) << 24;
// av_log(s, AV_LOG_DEBUG, "type:%d, size:%d, dts:%d\n", type, size, dts);
if (url_feof(s->pb))
- return AVERROR(EIO);
+ return AVERROR_EOF;
url_fskip(s->pb, 3); /* stream id, always 0 */
flags = 0;
More information about the ffmpeg-cvslog
mailing list