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
bedf952b
Commit
bedf952b
authored
Nov 30, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: move setting encoding-only vars from common_defaults() to encode_defaults()
parent
2cab011f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mpegvideo.c
libavcodec/mpegvideo.c
+0
-3
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+3
-0
No files found.
libavcodec/mpegvideo.c
View file @
bedf952b
...
...
@@ -788,9 +788,6 @@ void ff_MPV_common_defaults(MpegEncContext *s)
s
->
coded_picture_number
=
0
;
s
->
picture_number
=
0
;
s
->
input_picture_number
=
0
;
s
->
picture_in_gop_number
=
0
;
s
->
f_code
=
1
;
s
->
b_code
=
1
;
...
...
libavcodec/mpegvideo_enc.c
View file @
bedf952b
...
...
@@ -217,6 +217,9 @@ static void MPV_encode_defaults(MpegEncContext *s)
}
s
->
me
.
mv_penalty
=
default_mv_penalty
;
s
->
fcode_tab
=
default_fcode_tab
;
s
->
input_picture_number
=
0
;
s
->
picture_in_gop_number
=
0
;
}
/* init video encoder */
...
...
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