Commit bd2d70c0 authored by Aman Gupta's avatar Aman Gupta

avcodec/videotoolbox: remove unnecessary if statement

Cosmetic change only.
Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
parent 403d10a8
...@@ -702,7 +702,6 @@ static CFDictionaryRef videotoolbox_decoder_config_create(CMVideoCodecType codec ...@@ -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 ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment