[FFmpeg-cvslog] avfilter/buffersrc: add context to av_log() call

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


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec  6 15:31:05 2014 +0100| [8280b7db478206dafa370152d4f67f5e062ac229] | committer: Michael Niedermayer

avfilter/buffersrc: add context to av_log() call

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

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

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

diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 27d3db0..1cef1d6 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -98,7 +98,7 @@ int attribute_align_arg av_buffersrc_add_frame_flags(AVFilterContext *ctx, AVFra
 
     if (frame && frame->channel_layout &&
         av_get_channel_layout_nb_channels(frame->channel_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(ctx, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n");
         return AVERROR(EINVAL);
     }
 



More information about the ffmpeg-cvslog mailing list