Mercurial > mplayer.hg
comparison libmpdemux/muxer_lavf.c @ 32064:a735105a66b6
Move all MEncoder-related extern variable declarations to mencoder.h.
author | diego |
---|---|
date | Sat, 11 Sep 2010 11:47:07 +0000 |
parents | eaf15344b19d |
children | 0e09b34b0c47 |
comparison
equal
deleted
inserted
replaced
32063:bfd3e0d9ab9d | 32064:a735105a66b6 |
---|---|
23 #include <inttypes.h> | 23 #include <inttypes.h> |
24 #include <limits.h> | 24 #include <limits.h> |
25 #include "config.h" | 25 #include "config.h" |
26 #include "mp_msg.h" | 26 #include "mp_msg.h" |
27 #include "help_mp.h" | 27 #include "help_mp.h" |
28 | 28 #include "mencoder.h" |
29 #include "aviheader.h" | 29 #include "aviheader.h" |
30 #include "ms_hdr.h" | 30 #include "ms_hdr.h" |
31 #include "av_opts.h" | 31 #include "av_opts.h" |
32 | 32 |
33 #include "stream/stream.h" | 33 #include "stream/stream.h" |
39 #include "libavutil/avstring.h" | 39 #include "libavutil/avstring.h" |
40 | 40 |
41 #include "mp_taglists.h" | 41 #include "mp_taglists.h" |
42 | 42 |
43 enum PixelFormat imgfmt2pixfmt(int fmt); | 43 enum PixelFormat imgfmt2pixfmt(int fmt); |
44 | |
45 extern char *info_name; | |
46 extern char *info_artist; | |
47 extern char *info_genre; | |
48 extern char *info_subject; | |
49 extern char *info_copyright; | |
50 extern char *info_sourceform; | |
51 extern char *info_comment; | |
52 | 44 |
53 #define BIO_BUFFER_SIZE 32768 | 45 #define BIO_BUFFER_SIZE 32768 |
54 | 46 |
55 typedef struct { | 47 typedef struct { |
56 //AVInputFormat *avif; | 48 //AVInputFormat *avif; |
318 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf output formats:\n"); | 310 mp_msg(MSGT_DEMUX, MSGL_INFO, "Available lavf output formats:\n"); |
319 for (fmt = first_oformat; fmt; fmt = fmt->next) | 311 for (fmt = first_oformat; fmt; fmt = fmt->next) |
320 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name); | 312 mp_msg(MSGT_DEMUX, MSGL_INFO, "%15s : %s\n", fmt->name, fmt->long_name); |
321 } | 313 } |
322 | 314 |
323 extern char *out_filename; | |
324 int muxer_init_muxer_lavf(muxer_t *muxer) | 315 int muxer_init_muxer_lavf(muxer_t *muxer) |
325 { | 316 { |
326 muxer_priv_t *priv; | 317 muxer_priv_t *priv; |
327 AVOutputFormat *fmt = NULL; | 318 AVOutputFormat *fmt = NULL; |
328 | 319 |