[FFmpeg-cvslog] avfilter/avcodec: use NULL instead of 0 for pointer

Michael Niedermayer git at videolan.org
Sat Dec 6 15:39:22 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec  6 15:29:23 2014 +0100| [b4ece549471292e8ba5b00c7514c1183b71ff902] | committer: Michael Niedermayer

avfilter/avcodec: use NULL instead of 0 for pointer

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b4ece549471292e8ba5b00c7514c1183b71ff902
---

 libavfilter/avcodec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }
 



More information about the ffmpeg-cvslog mailing list