Commit 9bc9188e authored by Anton Khirnov's avatar Anton Khirnov

libmp3lame: fix typo

FF_API_LAME_GLOBAL_OPTIONS => FF_API_LAME_GLOBAL_OPTS

Thanks to Clément Bœsch for spotting.
parent bea5670a
...@@ -68,7 +68,7 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx) ...@@ -68,7 +68,7 @@ static av_cold int MP3lame_encode_init(AVCodecContext *avctx)
lame_set_VBR_quality(s->gfp, avctx->global_quality/(float)FF_QP2LAMBDA); lame_set_VBR_quality(s->gfp, avctx->global_quality/(float)FF_QP2LAMBDA);
} }
lame_set_bWriteVbrTag(s->gfp,0); lame_set_bWriteVbrTag(s->gfp,0);
#if FF_API_LAME_GLOBAL_OPTIONS #if FF_API_LAME_GLOBAL_OPTS
s->reservoir = avctx->flags2 & CODEC_FLAG2_BIT_RESERVOIR; s->reservoir = avctx->flags2 & CODEC_FLAG2_BIT_RESERVOIR;
#endif #endif
lame_set_disable_reservoir(s->gfp, !s->reservoir); lame_set_disable_reservoir(s->gfp, !s->reservoir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment