Browse Source

vc1dec: use av_log_ask_for_sample for odd sprites

Suggested-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
2dd2ee96eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vc1dec.c

+ 1
- 1
libavcodec/vc1dec.c View 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;
}
}


Loading…
Cancel
Save