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
82634fee
Commit
82634fee
authored
Jul 03, 2007
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CONFIG_XVID --> CONFIG_LIBXVID
Originally committed as revision 9466 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
737b7fb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ratecontrol.c
libavcodec/ratecontrol.c
+3
-3
No files found.
libavcodec/ratecontrol.c
View file @
82634fee
...
...
@@ -184,7 +184,7 @@ int ff_rate_control_init(MpegEncContext *s)
//FIXME maybe move to end
if
((
s
->
flags
&
CODEC_FLAG_PASS2
)
&&
s
->
avctx
->
rc_strategy
==
FF_RC_STRATEGY_XVID
)
{
#ifdef CONFIG_XVID
#ifdef CONFIG_
LIB
XVID
return
ff_xvid_rate_control_init
(
s
);
#else
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"XviD ratecontrol requires libavcodec compiled with XviD support
\n
"
);
...
...
@@ -260,7 +260,7 @@ void ff_rate_control_uninit(MpegEncContext *s)
ff_eval_free
(
rcc
->
rc_eq_eval
);
av_freep
(
&
rcc
->
entry
);
#ifdef CONFIG_XVID
#ifdef CONFIG_
LIB
XVID
if
((
s
->
flags
&
CODEC_FLAG_PASS2
)
&&
s
->
avctx
->
rc_strategy
==
FF_RC_STRATEGY_XVID
)
ff_xvid_rate_control_uninit
(
s
);
#endif
...
...
@@ -676,7 +676,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
Picture
*
const
pic
=
&
s
->
current_picture
;
emms_c
();
#ifdef CONFIG_XVID
#ifdef CONFIG_
LIB
XVID
if
((
s
->
flags
&
CODEC_FLAG_PASS2
)
&&
s
->
avctx
->
rc_strategy
==
FF_RC_STRATEGY_XVID
)
return
ff_xvid_rate_estimate_qscale
(
s
,
dry_run
);
#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