diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-20 22:24:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-20 22:25:14 +0200 |
commit | e162db66a224001776b959f67d7227dd9c083fb0 (patch) | |
tree | 84d006fec2c1b0771620bb2f64523f7633ebfd87 /libavformat | |
parent | 20d3348e8a192e9a41b4a519931dea3885998a01 (diff) | |
parent | 350ed1829268d343b791208c8fd1cddd44d52a8e (diff) | |
download | ffmpeg-e162db66a224001776b959f67d7227dd9c083fb0.tar.gz |
Merge commit '350ed1829268d343b791208c8fd1cddd44d52a8e'
* commit '350ed1829268d343b791208c8fd1cddd44d52a8e':
rtpdec_hevc: drop unnecessary check
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_hevc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c index f677733a0a..ac4c7656d4 100644 --- a/libavformat/rtpdec_hevc.c +++ b/libavformat/rtpdec_hevc.c @@ -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 |