]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '350ed1829268d343b791208c8fd1cddd44d52a8e'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Oct 2014 20:24:37 +0000 (22:24 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Oct 2014 20:25:14 +0000 (22:25 +0200)
* commit '350ed1829268d343b791208c8fd1cddd44d52a8e':
  rtpdec_hevc: drop unnecessary check

Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rtpdec_hevc.c

index f677733a0afcb83fc05ed3894ebbfcd2088093af..ac4c7656d4abb714af81c024d3b5540c388cfb8f 100644 (file)
@@ -361,8 +361,6 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
         buf += RTP_HEVC_PAYLOAD_HEADER_SIZE;
         len -= RTP_HEVC_PAYLOAD_HEADER_SIZE;
 
-        if (len < 1)
-            return AVERROR_INVALIDDATA;
         /*
              decode the FU header