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

pull/162/merge
Nicolas George 9 years ago
parent eb2e4fb674
commit 085ab74972
  1. 2
      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;
}

Loading…
Cancel
Save