diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-01-25 22:03:28 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-26 22:10:09 +0000 |
commit | c6610a216ed2948885772154a2eed696e0cb4aca (patch) | |
tree | 7ea6d3fdf9a8c957a5e690af2331ab481b1eb141 /libavformat/mpegenc.c | |
parent | 225b6d7fdea370de3723420e6adc2f3192439b00 (diff) | |
download | ffmpeg-c6610a216ed2948885772154a2eed696e0cb4aca.tar.gz |
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
Diffstat (limited to 'libavformat/mpegenc.c')
-rw-r--r-- | libavformat/mpegenc.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 5c090f63b0..eef385f06c 100644 --- a/libavformat/mpegenc.c +++ b/libavformat/mpegenc.c @@ -76,10 +76,10 @@ typedef struct { } MpegMuxContext; -extern AVOutputFormat mpeg1vcd_muxer; -extern AVOutputFormat mpeg2dvd_muxer; -extern AVOutputFormat mpeg2svcd_muxer; -extern AVOutputFormat mpeg2vob_muxer; +extern AVOutputFormat ff_mpeg1vcd_muxer; +extern AVOutputFormat ff_mpeg2dvd_muxer; +extern AVOutputFormat ff_mpeg2svcd_muxer; +extern AVOutputFormat ff_mpeg2vob_muxer; static int put_pack_header(AVFormatContext *ctx, uint8_t *buf, int64_t timestamp) @@ -297,12 +297,12 @@ static int mpeg_mux_init(AVFormatContext *ctx) int video_bitrate; s->packet_number = 0; - s->is_vcd = (CONFIG_MPEG1VCD_MUXER && ctx->oformat == &mpeg1vcd_muxer); - s->is_svcd = (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer); - s->is_mpeg2 = ((CONFIG_MPEG2VOB_MUXER && ctx->oformat == &mpeg2vob_muxer) || - (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer) || - (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &mpeg2svcd_muxer)); - s->is_dvd = (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &mpeg2dvd_muxer); + s->is_vcd = (CONFIG_MPEG1VCD_MUXER && ctx->oformat == &ff_mpeg1vcd_muxer); + s->is_svcd = (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer); + s->is_mpeg2 = ((CONFIG_MPEG2VOB_MUXER && ctx->oformat == &ff_mpeg2vob_muxer) || + (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer) || + (CONFIG_MPEG2SVCD_MUXER && ctx->oformat == &ff_mpeg2svcd_muxer)); + s->is_dvd = (CONFIG_MPEG2DVD_MUXER && ctx->oformat == &ff_mpeg2dvd_muxer); if(ctx->packet_size) { if (ctx->packet_size < 20 || ctx->packet_size > (1 << 23) + 10) { @@ -1233,7 +1233,7 @@ static int mpeg_mux_end(AVFormatContext *ctx) } #if CONFIG_MPEG1SYSTEM_MUXER -AVOutputFormat mpeg1system_muxer = { +AVOutputFormat ff_mpeg1system_muxer = { "mpeg", NULL_IF_CONFIG_SMALL("MPEG-1 System format"), "video/mpeg", @@ -1247,7 +1247,7 @@ AVOutputFormat mpeg1system_muxer = { }; #endif #if CONFIG_MPEG1VCD_MUXER -AVOutputFormat mpeg1vcd_muxer = { +AVOutputFormat ff_mpeg1vcd_muxer = { "vcd", NULL_IF_CONFIG_SMALL("MPEG-1 System format (VCD)"), "video/mpeg", @@ -1261,7 +1261,7 @@ AVOutputFormat mpeg1vcd_muxer = { }; #endif #if CONFIG_MPEG2VOB_MUXER -AVOutputFormat mpeg2vob_muxer = { +AVOutputFormat ff_mpeg2vob_muxer = { "vob", NULL_IF_CONFIG_SMALL("MPEG-2 PS format (VOB)"), "video/mpeg", @@ -1277,7 +1277,7 @@ AVOutputFormat mpeg2vob_muxer = { /* Same as mpeg2vob_mux except that the pack size is 2324 */ #if CONFIG_MPEG2SVCD_MUXER -AVOutputFormat mpeg2svcd_muxer = { +AVOutputFormat ff_mpeg2svcd_muxer = { "svcd", NULL_IF_CONFIG_SMALL("MPEG-2 PS format (VOB)"), "video/mpeg", @@ -1293,7 +1293,7 @@ AVOutputFormat mpeg2svcd_muxer = { /* Same as mpeg2vob_mux except the 'is_dvd' flag is set to produce NAV pkts */ #if CONFIG_MPEG2DVD_MUXER -AVOutputFormat mpeg2dvd_muxer = { +AVOutputFormat ff_mpeg2dvd_muxer = { "dvd", NULL_IF_CONFIG_SMALL("MPEG-2 PS format (DVD VOB)"), "video/mpeg", |