mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
rtpdec_hevc: drop unnecessary check
len is always >=1 in that case. Bug-Id: CID 1238784
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user