From 085ab74972bcaa459a3383e59aa80848cbf1bb63 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Fri, 27 Nov 2015 18:58:46 +0100 Subject: [PATCH] lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR). --- libavformat/mpegts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index bc1e03e242..c522c6dd43 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; }