ffmpeg | branch: master | Carl Eugen Hoyos <ceffm...@gmail.com> | Sun Nov 17 00:35:14 2019 +0100| [eeab18329f030bdcc2576eb6789cb5ed700eda33] | committer: Carl Eugen Hoyos
lavc/libopencore-amr: Silence a warning about an unused function. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eeab18329f030bdcc2576eb6789cb5ed700eda33 --- libavcodec/libopencore-amr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 516f625720..614b3a2218 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".