aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2015-11-27 18:58:46 +0100
committerNicolas George <george@nsup.org>2015-12-03 19:16:12 +0100
commit085ab74972bcaa459a3383e59aa80848cbf1bb63 (patch)
tree7a1b72ed5f96d2af9de195d7cba6319752eabf65
parenteb2e4fb6745b0c915bd073db8fe4117a11bd9b62 (diff)
downloadffmpeg-085ab74972bcaa459a3383e59aa80848cbf1bb63.tar.gz
lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR).
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
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;
}