[FFmpeg-cvslog] h264: Clean up #includes
Diego Biurrun
git at videolan.org
Sun Apr 24 12:37:26 CEST 2016
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Mar 23 18:33:42 2016 +0100| [02cd8bb9cb4381c50f42a9284098cc8a33d397db] | committer: Diego Biurrun
h264: Clean up #includes
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02cd8bb9cb4381c50f42a9284098cc8a33d397db
---
libavcodec/h264_parser.c | 18 +++++++++++++-----
libavcodec/ppc/h264dsp.c | 8 +++++++-
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index eadce69..27c78d9 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -25,14 +25,22 @@
* @author Michael Niedermayer <michaelni at 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 90afbde..ce514e3 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
More information about the ffmpeg-cvslog
mailing list