changeset 6170:224077f3c564 libavformat

Correctly return EOF for smacker videos Patch by Alexei Svitkine, alexei dot svitkine at gmail
author mstorsjo
date Thu, 24 Jun 2010 06:55:53 +0000
parents 47456957844f
children 240beb8a3072
files smacker.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {