You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/videotoolbox: remove unnecessary if statement
Cosmetic change only. Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
@@ -702,7 +702,6 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
|
|||||||
kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder,
|
kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder,
|
||||||
kCFBooleanTrue);
|
kCFBooleanTrue);
|
||||||
|
|
||||||
if (1) {
|
|
||||||
CFMutableDictionaryRef avc_info;
|
CFMutableDictionaryRef avc_info;
|
||||||
CFDataRef data = NULL;
|
CFDataRef data = NULL;
|
||||||
|
|
||||||
@@ -740,7 +739,6 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
|
|||||||
CFRelease(data);
|
CFRelease(data);
|
||||||
|
|
||||||
CFRelease(avc_info);
|
CFRelease(avc_info);
|
||||||
}
|
|
||||||
return config_info;
|
return config_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user