[FFmpeg-devel] [PATCH] correctly return EOF for smacker videos
Alexei Svitkine
alexei.svitkine
Thu Jun 24 04:23:08 CEST 2010
Attached patch makes ffplay -autoexit work correctly when playing
smacker videos.
-Alexei
-------------- next part --------------
Index: libavformat/smacker.c
===================================================================
--- libavformat/smacker.c (revision 23746)
+++ libavformat/smacker.c (working copy)
@@ -236,7 +236,7 @@
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-devel
mailing list