]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avcodec.c
lavfi/blackdetect: switch to new ff_filter_frame() API
[ffmpeg] / libavfilter / avcodec.c
index 30b8258eb65c0bcdf7d9812da94b0af237af0d45..688f1b397aaeda68ea9862403f1c966856b60f0f 100644 (file)
@@ -62,7 +62,7 @@ int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)
         dst->audio->channel_layout      = src->channel_layout;
         dst->audio->channels            = src->channels;
         if(src->channels < av_get_channel_layout_nb_channels(src->channel_layout)) {
-            av_log(0, AV_LOG_ERROR, "libavfilter does not support this channel layout\n");
+            av_log(NULL, AV_LOG_ERROR, "libavfilter does not support this channel layout\n");
             return AVERROR(EINVAL);
         }
         break;