[FFmpeg-cvslog] dxa: signal EOF

Paul B Mahol git at videolan.org
Wed Dec 5 21:05:41 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Dec  5 20:02:34 2012 +0000| [c5008135c2ec10db071ff914be4f296656eb6ccc] | committer: Paul B Mahol

dxa: signal EOF

Fixes #1948.

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c5008135c2ec10db071ff914be4f296656eb6ccc
---

 libavformat/dxa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dxa.c b/libavformat/dxa.c
index 30d1e02..6c76ab8 100644
--- a/libavformat/dxa.c
+++ b/libavformat/dxa.c
@@ -212,7 +212,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
             return -1;
         }
     }
-    return AVERROR(EIO);
+    return AVERROR_EOF;
 }
 
 AVInputFormat ff_dxa_demuxer = {



More information about the ffmpeg-cvslog mailing list