Commit b4ece549 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/avcodec: use NULL instead of 0 for pointer

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7cdc9970
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment