From a64d8b01d10b686786c1b7ac4e9f8220e58adfaf Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 4 Dec 2014 20:22:51 -0600 Subject: [PATCH] FS-7517: doh --- src/mod/codecs/mod_openh264/mod_openh264.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/codecs/mod_openh264/mod_openh264.cpp b/src/mod/codecs/mod_openh264/mod_openh264.cpp index 596ed5f823..87fe195676 100644 --- a/src/mod/codecs/mod_openh264/mod_openh264.cpp +++ b/src/mod/codecs/mod_openh264/mod_openh264.cpp @@ -246,7 +246,7 @@ static switch_status_t nalu_slice(h264_codec_context_t *context, switch_frame_t } //DFF The else branch here is not working. Whatever it's doing is creating corrupt picture. - {//if (nalu_len <= SLICE_SIZE) { + if (1||nalu_len <= SLICE_SIZE) { uint8_t nalu_type; context->last_nalu_data_pos += 4;