mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-06 21:04:45 +03:00
lavf/mpegts: use AVERROR_INVALIDDATA instead of AVERROR(EINTR).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user