aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/evc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-06-22 10:31:11 -0300
committerJames Almer <jamrial@gmail.com>2023-06-23 08:37:23 -0300
commit552879d6216413539b5de79f319266b544c4f5ca (patch)
tree216f73899d97cc19f71727479a323250485972ce /libavformat/evc.c
parentd0fc1b3507c277977201f3291c8f7c02f23fdfd6 (diff)
downloadffmpeg-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.c3
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);