Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2014/12/06 23:31:05... | ... |
@@ -98,7 +98,7 @@ int attribute_align_arg av_buffersrc_add_frame_flags(AVFilterContext *ctx, AVFra |
98 | 98 |
|
99 | 99 |
if (frame && frame->channel_layout && |
100 | 100 |
av_get_channel_layout_nb_channels(frame->channel_layout) != av_frame_get_channels(frame)) { |
101 |
- av_log(0, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n"); |
|
101 |
+ av_log(ctx, AV_LOG_ERROR, "Layout indicates a different number of channels than actually present\n"); |
|
102 | 102 |
return AVERROR(EINVAL); |
103 | 103 |
} |
104 | 104 |
|