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
e2c54d4d
Commit
e2c54d4d
authored
Aug 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo_enc: reset mb_x/y before writing the headers
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
717a1876
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+1
-0
No files found.
libavcodec/mpegvideo_enc.c
View file @
e2c54d4d
...
@@ -3352,6 +3352,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
...
@@ -3352,6 +3352,7 @@ static int encode_picture(MpegEncContext *s, int picture_number)
if
(
s
->
current_picture
.
f
.
key_frame
)
if
(
s
->
current_picture
.
f
.
key_frame
)
s
->
picture_in_gop_number
=
0
;
s
->
picture_in_gop_number
=
0
;
s
->
mb_x
=
s
->
mb_y
=
0
;
s
->
last_bits
=
put_bits_count
(
&
s
->
pb
);
s
->
last_bits
=
put_bits_count
(
&
s
->
pb
);
switch
(
s
->
out_format
)
{
switch
(
s
->
out_format
)
{
case
FMT_MJPEG
:
case
FMT_MJPEG
:
...
...
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