X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favcodec.c;h=def735f84d46eae1b6052283781396d9dfcc39b9;hb=829099545bf32c28236f8caa5558b81d25efcf91;hp=e0d90154ee57e0a51326264cbf8a4f45e6e51cd6;hpb=9943c5a42bdf8412f60e8a33489d6f2a8b1b9d61;p=ffmpeg diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index e0d90154ee5..def735f84d4 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -53,7 +53,7 @@ AVFilterBufferRef *avfilter_get_audio_buffer_ref_from_frame(const AVFrame *frame int64_t layout = av_frame_get_channel_layout(frame); if (layout && av_get_channel_layout_nb_channels(layout) != av_frame_get_channels(frame)) { - av_log(0, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n"); + av_log(NULL, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n"); return NULL; }