Browse Source

Warn when WVC1 cannot be decoded

Originally committed as revision 20201 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov 16 years ago
parent
commit
53b04467ae
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/vc1dec.c

+ 2
- 0
libavcodec/vc1dec.c View File

@@ -3191,6 +3191,8 @@ static int vc1_decode_frame(AVCodecContext *avctx,

buf_size2 = vc1_unescape_buffer(buf, divider - buf, buf2);
// 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;
}else{
buf_size2 = vc1_unescape_buffer(buf, buf_size, buf2);


Loading…
Cancel
Save