Browse Source

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

tags/n3.0
Nicolas George 10 years ago
parent
commit
085ab74972
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegts.c

+ 1
- 1
libavformat/mpegts.c View File

@@ -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