Commit 3b875e2e authored by kostya's avatar kostya

Warn when WVC1 cannot be decoded

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8b6e30d1
...@@ -3191,6 +3191,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, ...@@ -3191,6 +3191,8 @@ static int vc1_decode_frame(AVCodecContext *avctx,
buf_size2 = vc1_unescape_buffer(buf, divider - buf, buf2); buf_size2 = vc1_unescape_buffer(buf, divider - buf, buf2);
// TODO // TODO
if(!v->warn_interlaced++)
av_log(v->s.avctx, AV_LOG_ERROR, "Interlaced WVC1 support is not implemented\n");
av_free(buf2);return -1; av_free(buf2);return -1;
}else{ }else{
buf_size2 = vc1_unescape_buffer(buf, buf_size, buf2); buf_size2 = vc1_unescape_buffer(buf, buf_size, buf2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment