changeset 2050:c89a3019e088 libavcodec

10l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
author michael
date Mon, 31 May 2004 23:44:02 +0000
parents 19c713e14316
children b432d6a4c7ca
files h261.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h261.c	Mon May 31 20:18:08 2004 +0000
+++ b/h261.c	Mon May 31 23:44:02 2004 +0000
@@ -246,7 +246,7 @@
                           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 @@
     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];