1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

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

This commit is contained in:
Nicolas George
2015-11-27 18:58:46 +01:00
parent eb2e4fb674
commit 085ab74972

View File

@@ -2670,7 +2670,7 @@ static int mpegts_read_packet(AVFormatContext *s, AVPacket *pkt)
} }
if (!ret && pkt->size < 0) if (!ret && pkt->size < 0)
ret = AVERROR(EINTR); ret = AVERROR_INVALIDDATA;
return ret; return ret;
} }