git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322b571
)
rtpdec_hevc: drop unnecessary check
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Sat, 18 Oct 2014 15:58:42 +0000
(16:58 +0100)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 20 Oct 2014 09:44:42 +0000
(10:44 +0100)
len is always >=1 in that case.
Bug-Id: CID
1238784
libavformat/rtpdec_hevc.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_hevc.c
b/libavformat/rtpdec_hevc.c
index
49789b0
..
3ed7cac
100644
(file)
--- 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