summaryrefslogtreecommitdiff
path: root/libavcodec/h261.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-31 23:44:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-31 23:44:02 +0000
commit6bc79819953ae06fa190a897a62597c8b770d67c (patch)
tree2340604dd17c068cc11354ba80b962d91c90773e /libavcodec/h261.c
parent8b408dbf0ff556b6ed40c496ef3ea3821bb339ac (diff)
10l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h261.c')
-rw-r--r--libavcodec/h261.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h261.c b/libavcodec/h261.c
index 7ee5bff043..ef4697a0cf 100644
--- a/libavcodec/h261.c
+++ b/libavcodec/h261.c
@@ -246,7 +246,7 @@ static int h261_decode_mb(H261Context *h,
DCTELEM block[6][64])
{
MpegEncContext * const s = &h->s;
- int i, cbp, xy;
+ int i, cbp, xy, old_mtype;
cbp = 63;
// Read mba
@@ -272,7 +272,7 @@ static int h261_decode_mb(H261Context *h,
ff_update_block_index(s);
// Read mtype
- int old_mtype = h->mtype;
+ old_mtype = h->mtype;
h->mtype = get_vlc2(&s->gb, h261_mtype_vlc.table, H261_MTYPE_VLC_BITS, 2);
h->mtype = h261_mtype_map[h->mtype];