diff --git a/lib/xsound/avi.h b/lib/xsound/avi.h index 86905444..cbacec94 100644 --- a/lib/xsound/avi.h +++ b/lib/xsound/avi.h @@ -13,6 +13,7 @@ extern "C" { #endif #include +#include #ifdef __cplusplus } #endif @@ -24,7 +25,7 @@ struct AVIFile : XListElement { AVFormatContext *pFormatCtx; AVCodecContext *pCodecCtx; - AVCodec *pCodec; + const AVCodec *pCodec; AVFrame *pFrame; AVPacket packet; int videoStream;