Commit 36a498d1 authored by diego's avatar diego

Fix some #ifdef to allow building amr_wb alone.

patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be >


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4615 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fbba659f
...@@ -326,7 +326,7 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, ...@@ -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 { typedef struct AMRContext {
int frameCount; int frameCount;
...@@ -457,6 +457,8 @@ static int amr_nb_encode_frame(AVCodecContext *avctx, ...@@ -457,6 +457,8 @@ static int amr_nb_encode_frame(AVCodecContext *avctx,
#endif #endif
#if defined(AMR_NB) || defined(AMR_NB_FIXED)
AVCodec amr_nb_decoder = AVCodec amr_nb_decoder =
{ {
"amr_nb", "amr_nb",
...@@ -481,6 +483,8 @@ AVCodec amr_nb_encoder = ...@@ -481,6 +483,8 @@ AVCodec amr_nb_encoder =
NULL, NULL,
}; };
#endif
/* -----------AMR wideband ------------*/ /* -----------AMR wideband ------------*/
#ifdef AMR_WB #ifdef AMR_WB
......
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