On Thu, Apr 21, 2011 at 10:39 AM, Diego Biurrun <di...@biurrun.de> wrote: > --- > libavcodec/cook.c | 12 ++++++------ > libavcodec/truemotion1.c | 4 ++-- > libavcodec/tta.c | 5 +++-- > libavcodec/v210x.c | 2 +- > 4 files changed, 12 insertions(+), 11 deletions(-) > > diff --git a/libavcodec/cook.c b/libavcodec/cook.c > index 7717c4b..0e792af 100644 > --- a/libavcodec/cook.c > +++ b/libavcodec/cook.c > @@ -1136,7 +1136,7 @@ static av_cold int cook_decode_init(AVCodecContext > *avctx) > switch (q->subpacket[s].cookversion) { > case MONO: > if (q->nb_channels != 1) { > - av_log(avctx,AV_LOG_ERROR,"Container channels != 1, > report sample!\n"); > + av_log_ask_for_sample(avctx, "Container channels != > 1.!\n");
[...] > - av_log(avctx,AV_LOG_ERROR,"Container channels != 2, > report sample!\n"); > + av_log_ask_for_sample(avctx, "Container channels != > 2.\n"); This is inconsistent. _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel