[FFmpeg-cvslog] r23749 - trunk/libavformat/smacker.c
mstorsjo
subversion
Thu Jun 24 08:55:53 CEST 2010
Author: mstorsjo
Date: Thu Jun 24 08:55:53 2010
New Revision: 23749
Log:
Correctly return EOF for smacker videos
Patch by Alexei Svitkine, alexei dot svitkine at gmail
Modified:
trunk/libavformat/smacker.c
Modified: trunk/libavformat/smacker.c
==============================================================================
--- trunk/libavformat/smacker.c Thu Jun 24 08:53:35 2010 (r23748)
+++ trunk/libavformat/smacker.c Thu Jun 24 08:55:53 2010 (r23749)
@@ -236,7 +236,7 @@ static int smacker_read_packet(AVFormatC
int pos;
if (url_feof(s->pb) || smk->cur_frame >= smk->frames)
- return AVERROR(EIO);
+ return AVERROR_EOF;
/* if we demuxed all streams, pass another frame */
if(smk->curstream < 0) {
More information about the ffmpeg-cvslog
mailing list