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
71160c55
Commit
71160c55
authored
Dec 18, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix q=0 bug
Originally committed as revision 4754 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9944fb97
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mpegvideo.c
libavcodec/mpegvideo.c
+2
-1
No files found.
libavcodec/mpegvideo.c
View file @
71160c55
...
@@ -5369,7 +5369,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
...
@@ -5369,7 +5369,8 @@ static void encode_picture(MpegEncContext *s, int picture_number)
}
}
if
(
!
s
->
fixed_qscale
)
if
(
!
s
->
fixed_qscale
)
s
->
current_picture
.
quality
=
ff_rate_estimate_qscale
(
s
);
//FIXME pic_ptr
s
->
current_picture_ptr
->
quality
=
s
->
current_picture
.
quality
=
ff_rate_estimate_qscale
(
s
);
if
(
s
->
adaptive_quant
){
if
(
s
->
adaptive_quant
){
switch
(
s
->
codec_id
){
switch
(
s
->
codec_id
){
...
...
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