[FFmpeg-cvslog] g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check

Justin Ruggles git at videolan.org
Thu Nov 3 02:23:06 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Oct 27 20:51:40 2011 -0400| [7abb73d4ba8aeeb18b8adbd0f19b8caa4ec51f39] | committer: Justin Ruggles

g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7abb73d4ba8aeeb18b8adbd0f19b8caa4ec51f39
---

 libavcodec/g726.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 2a60a92..14ce545 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -380,6 +380,7 @@ AVCodec ff_adpcm_g726_encoder = {
 };
 #endif
 
+#if CONFIG_ADPCM_G726_DECODER
 static av_cold int g726_decode_init(AVCodecContext *avctx)
 {
     G726Context* c = avctx->priv_data;
@@ -448,3 +449,4 @@ AVCodec ff_adpcm_g726_decoder = {
     .decode         = g726_decode_frame,
     .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
 };
+#endif



More information about the ffmpeg-cvslog mailing list