# HG changeset patch # User mstorsjo # Date 1277362553 0 # Node ID 224077f3c564acb56d354d581037cea00039e885 # Parent 47456957844f46d4d7b38a89238f8921717cca86 Correctly return EOF for smacker videos Patch by Alexei Svitkine, alexei dot svitkine at gmail diff -r 47456957844f -r 224077f3c564 smacker.c --- a/smacker.c Wed Jun 23 11:26:43 2010 +0000 +++ b/smacker.c Thu Jun 24 06:55:53 2010 +0000 @@ -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) {