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
8a29b310
Commit
8a29b310
authored
Mar 22, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg1 & epzs fix
Originally committed as revision 347 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
7084c149
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mpegvideo.c
libavcodec/mpegvideo.c
+4
-3
No files found.
libavcodec/mpegvideo.c
View file @
8a29b310
...
...
@@ -174,7 +174,7 @@ int MPV_common_init(MpegEncContext *s)
}
}
if
(
s
->
out_format
==
FMT_H263
)
{
if
(
s
->
out_format
==
FMT_H263
||
s
->
encoding
)
{
int
size
;
/* MV prediction */
size
=
(
2
*
s
->
mb_width
+
2
)
*
(
2
*
s
->
mb_height
+
2
);
...
...
@@ -961,8 +961,9 @@ void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
else
if
(
s
->
h263_pred
||
s
->
h263_aic
)
s
->
mbintra_table
[
mb_x
+
mb_y
*
s
->
mb_width
]
=
1
;
/* update motion predictor, not for B-frames as they need the motion_val from the last P/S-Frame */
if
(
s
->
out_format
==
FMT_H263
)
{
/* update motion predictor, not for B-frames as they need the motion_val from the last P/S-Frame
motion_val is needed for encodig too, as the ME needs it */
if
(
s
->
out_format
==
FMT_H263
||
s
->
encoding
)
{
if
(
s
->
pict_type
!=
B_TYPE
){
int
xy
,
wrap
,
motion_x
,
motion_y
;
...
...
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