summaryrefslogtreecommitdiffstats
path: root/libavfilter/avcodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-06 15:29:23 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-06 15:29:23 +0100
commitb4ece549471292e8ba5b00c7514c1183b71ff902 (patch)
tree03e8abf56d44b2bd12dbf7b608aedda99de3b3cb /libavfilter/avcodec.c
parent7cdc99707bf7b38ee67d848e528ff7fdac6219d3 (diff)
downloadffmpeg-streaming-b4ece549471292e8ba5b00c7514c1183b71ff902.zip
ffmpeg-streaming-b4ece549471292e8ba5b00c7514c1183b71ff902.tar.gz
avfilter/avcodec: use NULL instead of 0 for pointer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avcodec.c')
-rw-r--r--libavfilter/avcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c
index e0d9015..def735f 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;
}
OpenPOWER on IntegriCloud