summaryrefslogtreecommitdiffstats
path: root/libhb/decmpeg2.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-12-13 06:55:01 +0000
committervan <[email protected]>2008-12-13 06:55:01 +0000
commit4aa065731b01639e2150e50fde33221d852406f6 (patch)
tree2dd4ae79c2dd79bde7d44c208516c008b69c7937 /libhb/decmpeg2.c
parent0e3664a72d164d6541c3a8f32146fc6035ecf2f7 (diff)
Consolidate all the ffmpeg-related includes into libhb/hbffmpeg.h then prototype hb_avcodec_{init,open,close} so that we don't get gcc warnings from a dozen modules.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2025 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decmpeg2.c')
-rw-r--r--libhb/decmpeg2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c
index eae00919c..83c36f698 100644
--- a/libhb/decmpeg2.c
+++ b/libhb/decmpeg2.c
@@ -5,10 +5,8 @@
It may be used under the terms of the GNU General Public License. */
#include "hb.h"
-
+#include "hbffmpeg.h"
#include "mpeg2dec/mpeg2.h"
-#include "libavcodec/avcodec.h"
-#include "libswscale/swscale.h"
/* Cadence tracking */
#ifndef PIC_FLAG_REPEAT_FIRST_FIELD