@@ -26,19 +26,10 @@
*/
#include "libavutil/avassert.h"
-#include "libavutil/imgutils.h"
-#include "internal.h"
-#include "cabac.h"
-#include "cabac_functions.h"
#include "error_resilience.h"
#include "avcodec.h"
#include "h264dec.h"
-#include "h264data.h"
-#include "h264chroma.h"
-#include "h264_mvpred.h"
-#include "mathops.h"
#include "mpegutils.h"
-#include "rectangle.h"
#include "thread.h"
void ff_h264_unref_picture(H264Context *h, H264Picture *pic)
@@ -27,8 +27,8 @@
#include "libavutil/avassert.h"
#include "libavutil/display.h"
-#include "libavutil/imgutils.h"
#include "libavutil/film_grain_params.h"
+#include "libavutil/pixdesc.h"
#include "libavutil/stereo3d.h"
#include "libavutil/timecode.h"
#include "internal.h"
@@ -40,7 +40,6 @@
#include "h264dec.h"
#include "h264data.h"
#include "h264chroma.h"
-#include "h264_mvpred.h"
#include "h264_ps.h"
#include "golomb.h"
#include "mathops.h"
@@ -28,29 +28,20 @@
#define UNCHECKED_BITSTREAM_READER 1
#include "libavutil/avassert.h"
-#include "libavutil/display.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
-#include "libavutil/stereo3d.h"
#include "libavutil/video_enc_params.h"
#include "internal.h"
-#include "bytestream.h"
-#include "cabac.h"
-#include "cabac_functions.h"
#include "error_resilience.h"
#include "avcodec.h"
#include "h264.h"
#include "h264dec.h"
#include "h2645_parse.h"
#include "h264data.h"
-#include "h264chroma.h"
-#include "h264_mvpred.h"
#include "h264_ps.h"
#include "golomb.h"
#include "hwconfig.h"
-#include "mathops.h"
-#include "me_cmp.h"
#include "mpegutils.h"
#include "profiles.h"
#include "rectangle.h"
This is only needed by h264_cabac.c and h264_cavlc.c. Also fix up the other headers while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/h264_picture.c | 9 --------- libavcodec/h264_slice.c | 3 +-- libavcodec/h264dec.c | 9 --------- 3 files changed, 1 insertion(+), 20 deletions(-)