diff --git a/libavcodec/amr.h b/libavcodec/amr.h index 58a0dde14a..7e5a4dce5b 100644 --- a/libavcodec/amr.h +++ b/libavcodec/amr.h @@ -23,6 +23,8 @@ #ifndef AVCODEC_AMR_H #define AVCODEC_AMR_H +#include "avcodec.h" + #ifdef AMR_USE_16BIT_TABLES #define R_TABLE_TYPE uint16_t #else diff --git a/libavcodec/msgsmdec.h b/libavcodec/msgsmdec.h index 554edbcb6e..fbf819a49c 100644 --- a/libavcodec/msgsmdec.h +++ b/libavcodec/msgsmdec.h @@ -22,6 +22,8 @@ #ifndef MSGSMDEC_H #define MSGSMDEC_H +#include "avcodec.h" + int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples, const uint8_t *buf);