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
cf7d2f2d
Commit
cf7d2f2d
authored
Sep 26, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: Simplify checking quant bias option
parent
84dfc426
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
dnxhdenc.c
libavcodec/dnxhdenc.c
+1
-2
mpegvideo_enc.c
libavcodec/mpegvideo_enc.c
+2
-4
No files found.
libavcodec/dnxhdenc.c
View file @
cf7d2f2d
...
...
@@ -344,8 +344,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
#if FF_API_QUANT_BIAS
FF_DISABLE_DEPRECATION_WARNINGS
if
(
ctx
->
intra_quant_bias
==
FF_DEFAULT_QUANT_BIAS
&&
avctx
->
intra_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
if
(
avctx
->
intra_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
ctx
->
intra_quant_bias
=
avctx
->
intra_quant_bias
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
...
...
libavcodec/mpegvideo_enc.c
View file @
cf7d2f2d
...
...
@@ -548,11 +548,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
#if FF_API_QUANT_BIAS
FF_DISABLE_DEPRECATION_WARNINGS
if
(
s
->
intra_quant_bias
==
FF_DEFAULT_QUANT_BIAS
&&
avctx
->
intra_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
if
(
avctx
->
intra_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
s
->
intra_quant_bias
=
avctx
->
intra_quant_bias
;
if
(
s
->
inter_quant_bias
==
FF_DEFAULT_QUANT_BIAS
&&
avctx
->
inter_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
if
(
avctx
->
inter_quant_bias
!=
FF_DEFAULT_QUANT_BIAS
)
s
->
inter_quant_bias
=
avctx
->
inter_quant_bias
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
...
...
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