]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7508: revert
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 29 Apr 2015 20:22:36 +0000 (15:22 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:27 +0000 (12:47 -0500)
src/mod/codecs/mod_vpx/mod_vpx.c

index 0c7fbdf0e3e50b7775d732edd5225fc2eb852a86..f3eb3034d30bc1341a5abb0bf088c5a029a78d56 100644 (file)
@@ -772,7 +772,7 @@ static switch_status_t switch_vpx_decode(switch_codec_t *codec, switch_frame_t *
        if (context->is_vp9) {
                is_keyframe = IS_VP9_KEY_FRAME(*(unsigned char *)frame->data);
        } else { // vp8
-               is_keyframe = (*(unsigned char *)frame->data & 0x10) || IS_VP8_KEY_FRAME((uint8_t *)frame->data);
+               is_keyframe = IS_VP8_KEY_FRAME((uint8_t *)frame->data);
        }
 
        // if (is_keyframe) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "got key %d\n", is_keyframe);