Browse Source

avfilter/buffersrc: add context to av_log() call

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
8280b7db47
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/buffersrc.c

+ 1
- 1
libavfilter/buffersrc.c View File

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



Loading…
Cancel
Save