From c5008135c2ec10db071ff914be4f296656eb6ccc Mon Sep 17 00:00:00 2001
From: Paul B Mahol <onemda@gmail.com>
Date: Wed, 5 Dec 2012 20:02:34 +0000
Subject: [PATCH] dxa: signal EOF

Fixes #1948.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
---
 libavformat/dxa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dxa.c b/libavformat/dxa.c
index 30d1e02068b..6c76ab8b409 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 = {
-- 
GitLab