diff options
author | James Almer <jamrial@gmail.com> | 2023-06-22 10:31:11 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-23 08:37:23 -0300 |
commit | 552879d6216413539b5de79f319266b544c4f5ca (patch) | |
tree | 216f73899d97cc19f71727479a323250485972ce /libavformat/evc.c | |
parent | d0fc1b3507c277977201f3291c8f7c02f23fdfd6 (diff) | |
download | ffmpeg-552879d6216413539b5de79f319266b544c4f5ca.tar.gz |
avformat/evc: remove duplicate check
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/evc.c')
-rw-r--r-- | libavformat/evc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/evc.c b/libavformat/evc.c index 1c72b141bd..9d0fe8d84c 100644 --- a/libavformat/evc.c +++ b/libavformat/evc.c @@ -226,9 +226,6 @@ static int evcc_write(AVIOContext *pb, EVCDecoderConfigurationRecord *evcc) if (!sps_count || sps_count > EVC_MAX_SPS_COUNT) return AVERROR_INVALIDDATA; - if (!sps_count || sps_count > EVC_MAX_SPS_COUNT) - return AVERROR_INVALIDDATA; - /* unsigned int(8) configurationVersion = 1; */ avio_w8(pb, evcc->configurationVersion); |