summaryrefslogtreecommitdiff
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-06 13:45:53 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-06 13:51:18 +0100
commit2dd2ee96eb95da7d0cd96198d72296902453fac2 (patch)
tree65482084c33cb09c4c94191ca731c4fc4e53a45f /libavcodec/vc1dec.c
parent037adf589a8ea5137fc7e302106e4640afcc04a0 (diff)
vc1dec: use av_log_ask_for_sample for odd sprites
Suggested-by: Reimar Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index ff04508b84..2130c74109 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5294,7 +5294,7 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx)
v->output_height > 1 << 14) return -1;
if ((v->sprite_width&1) || (v->sprite_height&1)) {
- av_log(avctx, AV_LOG_ERROR, "odd sprite\n");
+ av_log_ask_for_sample(avctx, "odd sprites are not supported\n");
return AVERROR_PATCHWELCOME;
}
}