1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avcodec/videotoolbox: remove unnecessary if statement

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
Aman Gupta
2017-11-10 11:52:38 -08:00
parent 403d10a8b3
commit bd2d70c0b8

View File

@@ -702,7 +702,6 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
kVTVideoDecoderSpecification_RequireHardwareAcceleratedVideoDecoder,
kCFBooleanTrue);
if (1) {
CFMutableDictionaryRef avc_info;
CFDataRef data = NULL;
@@ -740,7 +739,6 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec
CFRelease(data);
CFRelease(avc_info);
}
return config_info;
}