summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index 2eab7421f8..8680d36739 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -363,7 +363,7 @@ return -1;
if(s->picture_number==0)
decode_ext_header(w);
- s->pict_type = get_bits(&s->gb, 1) + 1;
+ s->pict_type = get_bits1(&s->gb) + 1;
if(s->pict_type == I_TYPE){
code = get_bits(&s->gb, 7);
av_log(s->avctx, AV_LOG_DEBUG, "I7:%X/\n", code);