mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
g726: wrap the decoder functions with a CONFIG_ADPCM_G726_DECODER check
This commit is contained in:
parent
437c11ca16
commit
7abb73d4ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user