diff --git a/libavcodec/h264pred.h b/libavcodec/h264pred.h index a8146ca0de..d87df2a31e 100644 --- a/libavcodec/h264pred.h +++ b/libavcodec/h264pred.h @@ -29,6 +29,7 @@ #define AVCODEC_H264PRED_H #include "libavutil/common.h" +#include "dsputil.h" /** * Prediction types diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 915944e147..1ac341e2f5 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -24,6 +24,9 @@ #ifndef AVCODEC_VDPAU_INTERNAL_H #define AVCODEC_VDPAU_INTERNAL_H +#include +#include "h264.h" + void ff_VDPAU_h264_add_data_chunk(H264Context *h, const uint8_t *buf, int buf_size); void ff_VDPAU_h264_picture_complete(H264Context *h);