mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
Fix some #ifdef to allow building amr_wb alone.
patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be > Originally committed as revision 4615 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
67860b268e
commit
399d84012f
@ -326,7 +326,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
|
||||
#else /* Float point version*/
|
||||
#elif defined(AMR_NB) /* Float point version*/
|
||||
|
||||
typedef struct AMRContext {
|
||||
int frameCount;
|
||||
@ -457,6 +457,8 @@ static int amr_nb_encode_frame(AVCodecContext *avctx,
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(AMR_NB) || defined(AMR_NB_FIXED)
|
||||
|
||||
AVCodec amr_nb_decoder =
|
||||
{
|
||||
"amr_nb",
|
||||
@ -481,6 +483,8 @@ AVCodec amr_nb_encoder =
|
||||
NULL,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* -----------AMR wideband ------------*/
|
||||
#ifdef AMR_WB
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user