This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
rtpdec_hevc: drop unnecessary check
len is always >=1 in that case. Bug-Id: CID 1238784
tags/n2.5
Vittorio Giovara
11 years ago
parent
322b571d55
commit
350ed18292
1 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
libavformat/rtpdec_hevc.c
+ 0
- 2
libavformat/rtpdec_hevc.c
View 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
Write
Preview
Loading…
Cancel
Save