changeset 2540:d541424f8020 libavcodec

typo
author michael
date Sat, 05 Mar 2005 03:37:19 +0000
parents 1fefaaee0fdc
children 29263fb4d80b
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Sat Mar 05 03:36:32 2005 +0000
+++ b/mpeg12.c	Sat Mar 05 03:37:19 2005 +0000
@@ -2150,7 +2150,7 @@
     s->width |= (horiz_size_ext << 12);
     s->height |= (vert_size_ext << 12);
     bit_rate_ext = get_bits(&s->gb, 12);  /* XXX: handle it */
-    s->bit_rate += (bit_rate_ext << 12) * 400;
+    s->bit_rate += (bit_rate_ext << 18) * 400;
     skip_bits1(&s->gb); /* marker */
     s->avctx->rc_buffer_size += get_bits(&s->gb, 8)*1024*16<<10;