aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:13:31 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-08-09 00:13:31 +0000
commit5fc32c275efb591c5d40d2eb3902225c32494e65 (patch)
tree388f5bdf2cabe6b493335b2c4f4b9ea1fdbe109c /libavcodec/wmv2.c
parentb6c748edbad9fb8a854f758553cfc8e5a1bbdb9c (diff)
downloadffmpeg-5fc32c275efb591c5d40d2eb3902225c32494e65.tar.gz
use get_bits1(..) instead get_bits(.., 1)
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
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);