Commit 7abb73d4 authored by Justin Ruggles's avatar Justin Ruggles

g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check

parent 437c11ca
...@@ -380,6 +380,7 @@ AVCodec ff_adpcm_g726_encoder = { ...@@ -380,6 +380,7 @@ AVCodec ff_adpcm_g726_encoder = {
}; };
#endif #endif
#if CONFIG_ADPCM_G726_DECODER
static av_cold int g726_decode_init(AVCodecContext *avctx) static av_cold int g726_decode_init(AVCodecContext *avctx)
{ {
G726Context* c = avctx->priv_data; G726Context* c = avctx->priv_data;
...@@ -448,3 +449,4 @@ AVCodec ff_adpcm_g726_decoder = { ...@@ -448,3 +449,4 @@ AVCodec ff_adpcm_g726_decoder = {
.decode = g726_decode_frame, .decode = g726_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
}; };
#endif
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