aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-10-11 05:36:59 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-10-11 05:36:59 +0000
commit53b04467ae7d8cbe83f801022e61d8bdac8d84f2 (patch)
treef64af846443e07a062c9caf0ce86bddc0b3ec522 /libavcodec/vc1dec.c
parent0096d766b96291c61561c517ab796bb0e79ce07b (diff)
downloadffmpeg-53b04467ae7d8cbe83f801022e61d8bdac8d84f2.tar.gz
Warn when WVC1 cannot be decoded
Originally committed as revision 20201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1dec.c')
-rw-r--r--libavcodec/vc1dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 421d8f77a6..5f27b3cc53 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -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);