summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_hevc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-20 22:24:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-20 22:25:14 +0200
commite162db66a224001776b959f67d7227dd9c083fb0 (patch)
tree84d006fec2c1b0771620bb2f64523f7633ebfd87 /libavformat/rtpdec_hevc.c
parent20d3348e8a192e9a41b4a519931dea3885998a01 (diff)
parent350ed1829268d343b791208c8fd1cddd44d52a8e (diff)
Merge commit '350ed1829268d343b791208c8fd1cddd44d52a8e'
* commit '350ed1829268d343b791208c8fd1cddd44d52a8e': rtpdec_hevc: drop unnecessary check Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpdec_hevc.c')
-rw-r--r--libavformat/rtpdec_hevc.c2
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