changeset 32017:922a375ec4af

Move lavc_param_* extern declarations to ve.h.
author diego
date Wed, 08 Sep 2010 19:51:57 +0000
parents 3a4d425d4bfa
children c3c9652058f8
files libmpcodecs/ae_lavc.c libmpcodecs/ve.h
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_lavc.c	Wed Sep 08 19:40:20 2010 +0000
+++ b/libmpcodecs/ae_lavc.c	Wed Sep 08 19:51:57 2010 +0000
@@ -31,6 +31,7 @@
 #include "libmpdemux/muxer.h"
 #include "ae_lavc.h"
 #include "vd_ffmpeg.h"
+#include "ve.h"
 #include "help_mp.h"
 #include "av_opts.h"
 #include "libaf/af_format.h"
@@ -40,11 +41,6 @@
 
 static AVCodec        *lavc_acodec;
 static AVCodecContext *lavc_actx;
-extern char *lavc_param_acodec;
-extern int  lavc_param_abitrate;
-extern int  lavc_param_atag;
-extern int  lavc_param_audio_global_header;
-extern char *lavc_param_audio_avopt;
 static int compressed_frame_size = 0;
 #ifdef CONFIG_LIBAVFORMAT
 #include "libavformat/avformat.h"
--- a/libmpcodecs/ve.h	Wed Sep 08 19:40:20 2010 +0000
+++ b/libmpcodecs/ve.h	Wed Sep 08 19:51:57 2010 +0000
@@ -25,4 +25,10 @@
 extern const m_option_t vfwopts_conf[];
 extern const m_option_t xvidencopts_conf[];
 
+extern char *lavc_param_acodec;
+extern char *lavc_param_audio_avopt;
+extern int   lavc_param_abitrate;
+extern int   lavc_param_atag;
+extern int   lavc_param_audio_global_header;
+
 #endif /* MPLAYER_VE_H */