提交 6bc79819 编写于 作者: M Michael Niedermayer

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
上级 8b408dbf
...@@ -246,7 +246,7 @@ static int h261_decode_mb(H261Context *h, ...@@ -246,7 +246,7 @@ static int h261_decode_mb(H261Context *h,
DCTELEM block[6][64]) DCTELEM block[6][64])
{ {
MpegEncContext * const s = &h->s; MpegEncContext * const s = &h->s;
int i, cbp, xy; int i, cbp, xy, old_mtype;
cbp = 63; cbp = 63;
// Read mba // Read mba
...@@ -272,7 +272,7 @@ static int h261_decode_mb(H261Context *h, ...@@ -272,7 +272,7 @@ static int h261_decode_mb(H261Context *h,
ff_update_block_index(s); ff_update_block_index(s);
// Read mtype // 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 = get_vlc2(&s->gb, h261_mtype_vlc.table, H261_MTYPE_VLC_BITS, 2);
h->mtype = h261_mtype_map[h->mtype]; h->mtype = h261_mtype_map[h->mtype];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册