]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_av] Reduce error level to warning for "Could not decode frame".
authorAndrey Volk <andywolk@gmail.com>
Tue, 10 Mar 2020 18:37:55 +0000 (22:37 +0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 6 May 2020 22:47:19 +0000 (02:47 +0400)
src/mod/applications/mod_av/avformat.c

index d932bbfd07d3a5e9a13b51bd992b512d34a16c18..27c10bf5116196cff8ddc7ec63454d47e3339be4 100644 (file)
@@ -1523,7 +1523,7 @@ GCC_DIAG_OFF(deprecated-declarations)
                        if ((error = avcodec_decode_audio4(context->audio_st[0].st->codec, &in_frame, &got_data, &pkt)) < 0) {
 GCC_DIAG_ON(deprecated-declarations)
                                char ebuf[255] = "";
-                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Could not decode frame (error '%s')\n", get_error_text(error, ebuf, sizeof(ebuf)));
+                               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Could not decode frame (error '%s')\n", get_error_text(error, ebuf, sizeof(ebuf)));
                                av_packet_unref(&pkt);
                                break;
                        }