diff smacker.c @ 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 536e5527c1e0
children a64b9fa63635
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) {