mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
lavc/libopencore-amr: Silence a warning about an unused function.
This commit is contained in:
parent
9498ce0c23
commit
eeab18329f
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#include "audio_frame_queue.h"
|
||||
#include "internal.h"
|
||||
|
||||
#if CONFIG_LIBOPENCORE_AMRNB_DECODER || CONFIG_LIBOPENCORE_AMRWB_DECODER
|
||||
static int amr_decode_fix_avctx(AVCodecContext *avctx)
|
||||
{
|
||||
const int is_amr_wb = 1 + (avctx->codec_id == AV_CODEC_ID_AMR_WB);
|
||||
|
|
@ -46,6 +47,7 @@ static int amr_decode_fix_avctx(AVCodecContext *avctx)
|
|||
avctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CONFIG_LIBOPENCORE_AMRNB
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue