projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67860b2
)
Fix some #ifdef to allow building amr_wb alone.
author
Michel Bardiaux
<mbardiaux@peaktime.be>
Sat, 24 Sep 2005 17:42:56 +0000
(17:42 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sat, 24 Sep 2005 17:42:56 +0000
(17:42 +0000)
patch by Michel Bardiaux < mbardiaux -- dot -- mediaxim -- dot -- be >
Originally committed as revision 4615 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/amr.c
patch
|
blob
|
history
diff --git
a/libavcodec/amr.c
b/libavcodec/amr.c
index
8b48ff0
..
fccb69d
100644
(file)
--- a/
libavcodec/amr.c
+++ b/
libavcodec/amr.c
@@
-326,7
+326,7
@@
static int amr_nb_encode_frame(AVCodecContext *avctx,
}
-#el
se
/* Float point version*/
+#el
if 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