summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-17 14:18:22 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-18 09:16:39 -0800
commitc742ab4e81bb9dcabfdab006d6b8b09a5808c4ce (patch)
tree0eff1949c90bb07c23de568e8a39ecb1a47826af /libavcodec/vc1.h
parent9d3050d3e95e307ebc34a943484c7add838d1220 (diff)
vc1parse: call vc1_init_common().
The parser uses VLC tables initialized in vc1_common_init(), therefore we should call this function on parser init also. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/vc1.h')
-rw-r--r--libavcodec/vc1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index f895aad204..d07ad8937e 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -447,5 +447,6 @@ int ff_vc1_decode_entry_point(AVCodecContext *avctx, VC1Context *v, GetBitContex
int ff_vc1_parse_frame_header (VC1Context *v, GetBitContext *gb);
int ff_vc1_parse_frame_header_adv(VC1Context *v, GetBitContext *gb);
+int ff_vc1_init_common(VC1Context *v);
#endif /* AVCODEC_VC1_H */