vc1dec: use av_log_ask_for_sample for odd sprites
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Mar 2013 12:45:53 +0000 (13:45 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Mar 2013 12:51:18 +0000 (13:51 +0100)
Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vc1dec.c

index ff04508..2130c74 100644 (file)
@@ -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;
         }
     }