]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7508: revert
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Dec 2014 06:39:50 +0000 (00:39 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:52 +0000 (12:46 -0500)
src/mod/codecs/mod_vpx/mod_vpx.c

index 200213c2a822a39ddde47445438ffb959fbec874..aa93c46caa4b4d68f0a41b28f090c96a2e8d866e 100644 (file)
@@ -517,7 +517,6 @@ static switch_status_t switch_vpx_decode(switch_codec_t *codec, switch_frame_t *
                (!frame->m) && (!context->last_received_complete_picture)) {
                // possible packet loss
                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Packet Loss, skip previous received frame (to avoid crash?)\n");
-               usleep(500000);abort();
                switch_goto_status(SWITCH_STATUS_RESTART, end);
        }
 
@@ -564,7 +563,7 @@ static switch_status_t switch_vpx_decode(switch_codec_t *codec, switch_frame_t *
                frame->img = (switch_image_t *) vpx_codec_get_frame(decoder, &iter);
 
                if (!(frame->img) || corrupted) {
-                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "VPX invalid packet image: %d corrupted: %d\n", !!frame->img, corrupted);
+                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "VPX invalid packet\n");
                        switch_goto_status(SWITCH_STATUS_RESTART, end);
                }