aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-03-23 18:33:42 +0100
committerDiego Biurrun <diego@biurrun.de>2016-03-25 15:23:55 +0100
commit02cd8bb9cb4381c50f42a9284098cc8a33d397db (patch)
tree2730c31276b2ab4a09161771585efcad89c326e6
parent704a39769719d2e1ae3f13bfc562b51c9cd002d7 (diff)
downloadffmpeg-02cd8bb9cb4381c50f42a9284098cc8a33d397db.tar.gz
h264: Clean up #includes
-rw-r--r--libavcodec/h264_parser.c18
-rw-r--r--libavcodec/ppc/h264dsp.c8
2 files changed, 20 insertions, 6 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index eadce69d7d..27c78d9480 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -25,14 +25,22 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#include "libavutil/attributes.h"
-#include "parser.h"
-#include "h264data.h"
+#include <assert.h>
+#include <stdint.h>
+
+#include "libavutil/avutil.h"
+#include "libavutil/error.h"
+#include "libavutil/log.h"
+#include "libavutil/mem.h"
+#include "libavutil/pixfmt.h"
+
+#include "get_bits.h"
#include "golomb.h"
+#include "h264.h"
+#include "h264data.h"
#include "internal.h"
#include "mpegutils.h"
-
-#include <assert.h>
+#include "parser.h"
typedef struct H264ParseContext {
H264Context h;
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c
index 90afbde118..ce514e3d86 100644
--- a/libavcodec/ppc/h264dsp.c
+++ b/libavcodec/ppc/h264dsp.c
@@ -19,13 +19,19 @@
*/
#include "config.h"
+
+#include <stdint.h>
+#include <string.h>
+
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/intreadwrite.h"
+#include "libavutil/mem.h"
#include "libavutil/ppc/cpu.h"
#include "libavutil/ppc/types_altivec.h"
#include "libavutil/ppc/util_altivec.h"
-#include "libavcodec/h264data.h"
+
+#include "libavcodec/h264.h"
#include "libavcodec/h264dsp.h"
#if HAVE_ALTIVEC && HAVE_BIGENDIAN