avcodec/videotoolbox: remove unnecessary if statement

Cosmetic change only.

Signed-off-by: Aman Gupta <aman@tmm1.net>
pull/272/head
Aman Gupta 7 years ago
parent 403d10a8b3
commit bd2d70c0b8
  1. 2
      libavcodec/videotoolbox.c

@ -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;
}

Loading…
Cancel
Save