Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
305d3d9f
Commit
305d3d9f
authored
Nov 19, 2013
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videoenc: restore macro parentheses
These were erroneously removed in
8769113a
.
parent
ea9f7173
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libavcodec/mpeg4videoenc.c
libavcodec/mpeg4videoenc.c
+3
-3
No files found.
libavcodec/mpeg4videoenc.c
View file @
305d3d9f
...
...
@@ -42,9 +42,9 @@ static uint8_t uni_mpeg4_intra_rl_len[64 * 64 * 2 * 2];
static
uint32_t
uni_mpeg4_inter_rl_bits
[
64
*
64
*
2
*
2
];
static
uint8_t
uni_mpeg4_inter_rl_len
[
64
*
64
*
2
*
2
];
//#define UNI_MPEG4_ENC_INDEX(last, run, level) (last * 128 + run * 256 + level)
//#define UNI_MPEG4_ENC_INDEX(last, run, level) (last * 128 * 64 + run + level * 64)
#define UNI_MPEG4_ENC_INDEX(last, run, level) (last * 128 * 64 + run * 128 + (level))
//#define UNI_MPEG4_ENC_INDEX(last, run, level)
(
(last
)
* 128 +
(
run
)
* 256 +
(
level)
)
//#define UNI_MPEG4_ENC_INDEX(last, run, level)
(
(last
)
* 128 * 64 +
(
run
)
+
(
level
)
* 64)
#define UNI_MPEG4_ENC_INDEX(last, run, level)
(
(last
)
* 128 * 64 +
(
run
)
* 128 + (level))
/* mpeg4
* inter
...
...
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