summaryrefslogtreecommitdiff
path: root/libavcodec/g726.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-27 20:51:40 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-01 21:23:04 -0400
commit7abb73d4ba8aeeb18b8adbd0f19b8caa4ec51f39 (patch)
tree4d05c8ddf364a48d6a2899849af6a9d0762dafb9 /libavcodec/g726.c
parent437c11ca16dde4ccf4719584c3683230e79bc5b9 (diff)
g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r--libavcodec/g726.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index 2a60a926cd..14ce545017 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