summaryrefslogtreecommitdiffstats
path: root/libhb/hbffmpeg.h
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/hbffmpeg.h
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/hbffmpeg.h')
-rw-r--r--libhb/hbffmpeg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h
new file mode 100644
index 000000000..e0a7634d3
--- /dev/null
+++ b/libhb/hbffmpeg.h
@@ -0,0 +1,11 @@
+/* This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#include "libavcodec/avcodec.h"
+#include "libavformat/avformat.h"
+#include "libswscale/swscale.h"
+
+void hb_avcodec_init(void);
+int hb_avcodec_open( AVCodecContext *, struct AVCodec * );
+int hb_avcodec_close( AVCodecContext * );