--- libavcodec/loco.c | 2 +- libavcodec/wnv1.c | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/libavcodec/loco.c b/libavcodec/loco.c index 0733d09..9dec24d 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -248,7 +248,7 @@ static av_cold int decode_init(AVCodecContext *avctx){ break; default: l->lossy = AV_RL32(avctx->extradata + 8); - av_log(avctx, AV_LOG_INFO, "This is LOCO codec version %i, please upload file for study\n", version); + av_log_ask_for_sample(avctx, "This is LOCO codec version %i, please upload file for study\n", version); } l->mode = AV_RL32(avctx->extradata + 4); diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 7c0a537..05524e7 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -96,11 +96,15 @@ static int decode_frame(AVCodecContext *avctx, else { l->shift = 8 - (buf[2] >> 4); if (l->shift > 4) { - av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4); + av_log_ask_for_sample(avctx, + "Unknown WNV1 frame header value %i, please upload file for study\n", + buf[2] >> 4); l->shift = 4; } if (l->shift < 1) { - av_log(avctx, AV_LOG_ERROR, "Unknown WNV1 frame header value %i, please upload file for study\n", buf[2] >> 4); + av_log_ask_for_sample(avctx, + "Unknown WNV1 frame header value %i, please upload file for study\n", + buf[2] >> 4); l->shift = 1; } } -- 1.5.6.5 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel