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
752cc0dc
Commit
752cc0dc
authored
Feb 13, 2010
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init sub_mb_type cleanly.
Originally committed as revision 21790 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
923bcb40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
h264_direct.c
libavcodec/h264_direct.c
+1
-2
No files found.
libavcodec/h264_direct.c
View file @
752cc0dc
...
...
@@ -149,7 +149,7 @@ static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){
const
int16_t
(
*
l1mv0
)[
2
],
(
*
l1mv1
)[
2
];
const
int8_t
*
l1ref0
,
*
l1ref1
;
const
int
is_b8x8
=
IS_8X8
(
*
mb_type
);
unsigned
int
sub_mb_type
;
unsigned
int
sub_mb_type
=
MB_TYPE_L0L1
;
;
int
i8
,
i4
;
int
ref
[
2
];
int
mv
[
2
];
...
...
@@ -160,7 +160,6 @@ static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
*
mb_type
|=
MB_TYPE_L0L1
;
sub_mb_type
|=
MB_TYPE_L0L1
;
/* ref = min(neighbors) */
for
(
list
=
0
;
list
<
2
;
list
++
){
...
...
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