aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-06 15:31:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-06 15:31:05 +0100
commit8280b7db478206dafa370152d4f67f5e062ac229 (patch)
treebe7358b7c3fc11a1401c3f6b36792442330d8a91
parent1adc1b97e1b8d2a40888db3ce1afefb0750e83c5 (diff)
downloadffmpeg-8280b7db478206dafa370152d4f67f5e062ac229.tar.gz
avfilter/buffersrc: add context to av_log() call
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/buffersrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 27d3db085b..1cef1d6a10 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);
}