aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-03-05 03:37:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-05 03:37:19 +0000
commit27ef18d12f135399e89ff3e94263016870f64a24 (patch)
tree4060014a3731b29a88fe600d5341966ef4681885
parent8c787559a2cd9ac02b5b3f561cc1bc25ef3b3a59 (diff)
downloadffmpeg-27ef18d12f135399e89ff3e94263016870f64a24.tar.gz
typo
Originally committed as revision 4006 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index a4d878ba8b..8ec8f56755 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -2150,7 +2150,7 @@ static void mpeg_decode_sequence_extension(Mpeg1Context *s1)
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;