mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
parser: mpeg4: fix vlc table used for sprite trajectory
The vlc table members cbits, cword and values were assigned in the wrong order, causing the mpeg4 parser to fail when handling sprite trajectories. https://bugzilla.gnome.org/show_bug.cgi?id=733322
This commit is contained in:
parent
429f20531f
commit
2f28fcb862
1 changed files with 15 additions and 15 deletions
|
@ -123,21 +123,21 @@ static const guint8 mpeg4_zigzag_8x8[64] = {
|
|||
};
|
||||
|
||||
static const VLCTable mpeg4_dmv_size_vlc_table[] = {
|
||||
{0x00, 2, 0},
|
||||
{0x02, 3, 1},
|
||||
{0x03, 3, 2},
|
||||
{0x04, 3, 3},
|
||||
{0x05, 3, 4},
|
||||
{0x06, 3, 5},
|
||||
{0x0e, 4, 6},
|
||||
{0x1e, 5, 7},
|
||||
{0x3e, 6, 8},
|
||||
{0x7e, 7, 9},
|
||||
{0xfe, 8, 10},
|
||||
{0x1fe, 9, 11},
|
||||
{0x3fe, 10, 12},
|
||||
{0x7fe, 11, 13},
|
||||
{0xffe, 12, 14}
|
||||
{0, 0x00, 2},
|
||||
{1, 0x02, 3},
|
||||
{2, 0x03, 3},
|
||||
{3, 0x04, 3},
|
||||
{4, 0x05, 3},
|
||||
{5, 0x06, 3},
|
||||
{6, 0x0e, 4},
|
||||
{7, 0x1e, 5},
|
||||
{8, 0x3e, 6},
|
||||
{9, 0x7e, 7},
|
||||
{10, 0xfe, 8},
|
||||
{11, 0x1fe, 9},
|
||||
{12, 0x3fe, 10},
|
||||
{13, 0x7fe, 11},
|
||||
{14, 0xffe, 12}
|
||||
};
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue