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
b2893ee2
Commit
b2893ee2
authored
May 21, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msmpeg4: reindent.
parent
57aa7659
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
msmpeg4.c
libavcodec/msmpeg4.c
+8
-8
No files found.
libavcodec/msmpeg4.c
View file @
b2893ee2
...
...
@@ -846,15 +846,15 @@ static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr
int
pred
,
extquant
;
int
extrabits
=
0
;
int16_t
*
dc_val
;
pred
=
msmpeg4_pred_dc
(
s
,
n
,
&
dc_val
,
dir_ptr
);
int16_t
*
dc_val
;
pred
=
msmpeg4_pred_dc
(
s
,
n
,
&
dc_val
,
dir_ptr
);
/* update predictor */
if
(
n
<
4
)
{
*
dc_val
=
level
*
s
->
y_dc_scale
;
}
else
{
*
dc_val
=
level
*
s
->
c_dc_scale
;
}
/* update predictor */
if
(
n
<
4
)
{
*
dc_val
=
level
*
s
->
y_dc_scale
;
}
else
{
*
dc_val
=
level
*
s
->
c_dc_scale
;
}
/* do the prediction */
level
-=
pred
;
...
...
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