Patch by Alexei Svitkine, alexei dot svitkine at gmail
Originally committed as revision 23749 to svn://svn.ffmpeg.org/ffmpeg/trunk
... | ... |
@@ -236,7 +236,7 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt) |
236 | 236 |
int pos; |
237 | 237 |
|
238 | 238 |
if (url_feof(s->pb) || smk->cur_frame >= smk->frames) |
239 |
- return AVERROR(EIO); |
|
239 |
+ return AVERROR_EOF; |
|
240 | 240 |
|
241 | 241 |
/* if we demuxed all streams, pass another frame */ |
242 | 242 |
if(smk->curstream < 0) { |