[FFmpeg-cvslog] lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR).

Nicolas George git at videolan.org
Thu Dec 3 19:22:38 CET 2015


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Fri Nov 27 18:58:46 2015 +0100| [085ab74972bcaa459a3383e59aa80848cbf1bb63] | committer: Nicolas George

lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR).

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

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

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index bc1e03e..c522c6d 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2670,7 +2670,7 @@ static int mpegts_read_packet(AVFormatContext *s, AVPacket *pkt)
     }
 
     if (!ret && pkt->size < 0)
-        ret = AVERROR(EINTR);
+        ret = AVERROR_INVALIDDATA;
     return ret;
 }
 



More information about the ffmpeg-cvslog mailing list