Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
26eee872
Commit
26eee872
authored
May 14, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/escape124: change transitions table type to int8_t
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
f57897e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
escape124.c
libavcodec/escape124.c
+1
-1
No files found.
libavcodec/escape124.c
View file @
26eee872
...
...
@@ -145,7 +145,7 @@ static MacroBlock decode_macroblock(Escape124Context* s, GetBitContext* gb,
unsigned
block_index
,
depth
;
int
value
=
get_bits1
(
gb
);
if
(
value
)
{
static
const
char
transitions
[
3
][
2
]
=
{
{
2
,
1
},
{
0
,
2
},
{
1
,
0
}
};
static
const
int8_t
transitions
[
3
][
2
]
=
{
{
2
,
1
},
{
0
,
2
},
{
1
,
0
}
};
value
=
get_bits1
(
gb
);
*
codebook_index
=
transitions
[
*
codebook_index
][
value
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment