]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
give AVInput/OutputFormat structs consistent names
authormru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 9 Jul 2006 23:40:53 +0000 (23:40 +0000)
committermru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 9 Jul 2006 23:40:53 +0000 (23:40 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5697 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

72 files changed:
ffplay.c
ffserver.c
libavformat/4xm.c
libavformat/adtsenc.c
libavformat/aiff.c
libavformat/allformats.h
libavformat/amr.c
libavformat/asf-enc.c
libavformat/asf.c
libavformat/au.c
libavformat/audio.c
libavformat/avformat.h
libavformat/avidec.c
libavformat/avienc.c
libavformat/avs.c
libavformat/beosaudio.cpp
libavformat/crc.c
libavformat/daud.c
libavformat/dc1394.c
libavformat/dv.c
libavformat/dv1394.c
libavformat/electronicarts.c
libavformat/ffm.c
libavformat/flic.c
libavformat/flvdec.c
libavformat/flvenc.c
libavformat/gif.c
libavformat/gifdec.c
libavformat/grab.c
libavformat/grab_bktr.c
libavformat/gxf.c
libavformat/idcin.c
libavformat/idroq.c
libavformat/img.c
libavformat/img2.c
libavformat/ipmovie.c
libavformat/matroska.c
libavformat/mm.c
libavformat/mmf.c
libavformat/mov.c
libavformat/movenc.c
libavformat/mp3.c
libavformat/mpeg.c
libavformat/mpegts.c
libavformat/mpegts.h
libavformat/mpegtsenc.c
libavformat/mpjpeg.c
libavformat/nsvdec.c
libavformat/nut.c
libavformat/nuv.c
libavformat/ogg.c
libavformat/ogg2.c
libavformat/psxstr.c
libavformat/raw.c
libavformat/rm.c
libavformat/rtp.c
libavformat/rtp.h
libavformat/rtsp.c
libavformat/rtsp.h
libavformat/segafilm.c
libavformat/sierravmd.c
libavformat/smacker.c
libavformat/sol.c
libavformat/swf.c
libavformat/tta.c
libavformat/utils.c
libavformat/v4l2.c
libavformat/voc.c
libavformat/wav.c
libavformat/wc3movie.c
libavformat/westwood.c
libavformat/yuv4mpeg.c

index ecbe054447d565660afd582b60519390b3455968..066dca405e4106642eff7b2a834235ca66c12b62 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1790,7 +1790,7 @@ static int decode_thread(void *arg)
     }
     is->ic = ic;
 #ifdef CONFIG_NETWORK
-    use_play = (ic->iformat == &rtsp_demux);
+    use_play = (ic->iformat == &rtsp_demuxer);
 #else
     use_play = 0;
 #endif
@@ -1884,7 +1884,7 @@ static int decode_thread(void *arg)
             else
                 av_read_play(ic);
         }
-        if (is->paused && ic->iformat == &rtsp_demux) {
+        if (is->paused && ic->iformat == &rtsp_demuxer) {
             /* wait 10 ms to avoid trying to get another packet */
             /* XXX: horrible */
             SDL_Delay(10);
index cb44f61586b684a260fe117ae5ddf60b3924cde6..a8a78a7be6b396021d72a15640e3277ede9f68ce 100644 (file)
@@ -1624,7 +1624,7 @@ static void compute_stats(HTTPContext *c)
                     strcpy(eosf - 4, ".asx");
                 } else if (strcmp(eosf - 3, ".rm") == 0) {
                     strcpy(eosf - 3, ".ram");
-                } else if (stream->fmt == &rtp_mux) {
+                } else if (stream->fmt == &rtp_muxer) {
                     /* generate a sample RTSP director if
                        unicast. Generate an SDP redirector if
                        multicast */
@@ -2720,7 +2720,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url)
         path++;
 
     for(stream = first_stream; stream != NULL; stream = stream->next) {
-        if (!stream->is_feed && stream->fmt == &rtp_mux &&
+        if (!stream->is_feed && stream->fmt == &rtp_muxer &&
             !strcmp(path, stream->filename)) {
             goto found;
         }
@@ -2795,7 +2795,7 @@ static void rtsp_cmd_setup(HTTPContext *c, const char *url,
 
     /* now check each stream */
     for(stream = first_stream; stream != NULL; stream = stream->next) {
-        if (!stream->is_feed && stream->fmt == &rtp_mux) {
+        if (!stream->is_feed && stream->fmt == &rtp_muxer) {
             /* accept aggregate filenames only if single stream */
             if (!strcmp(path, stream->filename)) {
                 if (stream->nb_streams != 1) {
@@ -3130,7 +3130,7 @@ static int rtp_new_av_stream(HTTPContext *c,
     ctx = av_alloc_format_context();
     if (!ctx)
         return -1;
-    ctx->oformat = &rtp_mux;
+    ctx->oformat = &rtp_muxer;
 
     st = av_mallocz(sizeof(AVStream));
     if (!st)
@@ -3350,7 +3350,7 @@ static void build_file_streams(void)
             /* try to open the file */
             /* open stream */
             stream->ap_in = av_mallocz(sizeof(AVFormatParameters));
-            if (stream->fmt == &rtp_mux) {
+            if (stream->fmt == &rtp_muxer) {
                 /* specific case : if transport stream output to RTP,
                    we use a raw transport stream reader */
                 stream->ap_in->mpeg2ts_raw = 1;
index c0df50f85e7a9439f058661233ab16e3162db819..15a845316a8986c4dce9a61d15ac808783a45309 100644 (file)
@@ -318,7 +318,7 @@ static int fourxm_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat fourxm_iformat = {
+static AVInputFormat fourxm_demuxer = {
     "4xm",
     "4X Technologies format",
     sizeof(FourxmDemuxContext),
@@ -330,6 +330,6 @@ static AVInputFormat fourxm_iformat = {
 
 int fourxm_init(void)
 {
-    av_register_input_format(&fourxm_iformat);
+    av_register_input_format(&fourxm_demuxer);
     return 0;
 }
index e67455ec80df3373ae979a06303d9a477821f341..bf8e11b8c17b783912c16ed76bbe5d0049bc4a92 100644 (file)
@@ -107,7 +107,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-static AVOutputFormat adts_oformat = {
+static AVOutputFormat adts_muxer = {
     "adts",
     "ADTS AAC",
     "audio/aac",
@@ -122,6 +122,6 @@ static AVOutputFormat adts_oformat = {
 
 int ff_adts_init(void)
 {
-    av_register_output_format(&adts_oformat);
+    av_register_output_format(&adts_muxer);
     return 0;
 }
index 1e802acb247170bfed3e431d948a0a7f807534fa..c4c24ff47587bf74c96fe02902edc4f0d11618df 100644 (file)
@@ -429,7 +429,7 @@ static int aiff_read_seek(AVFormatContext *s,
 }
 
 
-static AVInputFormat aiff_iformat = {
+static AVInputFormat aiff_demuxer = {
     "aiff",
     "Audio IFF",
     0,
@@ -441,7 +441,7 @@ static AVInputFormat aiff_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat aiff_oformat = {
+static AVOutputFormat aiff_muxer = {
     "aiff",
     "Audio IFF",
     "audio/aiff",
@@ -457,9 +457,9 @@ static AVOutputFormat aiff_oformat = {
 
 int ff_aiff_init(void)
 {
-    av_register_input_format(&aiff_iformat);
+    av_register_input_format(&aiff_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&aiff_oformat);
+    av_register_output_format(&aiff_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 316642d8b565fc1906a5d8a6c4cc5d55afc24e3a..41c0446d47e2f5f911a9a8ecea5bda497536e5a4 100644 (file)
@@ -2,11 +2,11 @@
 #define ALLFORMATS_H
 
 /* mpeg.c */
-extern AVInputFormat mpegps_demux;
+extern AVInputFormat mpegps_demuxer;
 int mpegps_init(void);
 
 /* mpegts.c */
-extern AVInputFormat mpegts_demux;
+extern AVInputFormat mpegts_demuxer;
 int mpegts_init(void);
 
 /* rm.c */
@@ -87,7 +87,7 @@ int ff_dv_init(void);
 int ffm_init(void);
 
 /* rtsp.c */
-extern AVInputFormat redir_demux;
+extern AVInputFormat redir_demuxer;
 int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f);
 
 /* 4xm.c */
index 22cd6137391c0fd6bccb7efb2ad066d3c33b74a6..b2e79420abaeeac8ae0151e7e0a56fbafb2be955 100644 (file)
@@ -215,7 +215,7 @@ static int amr_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat amr_iformat = {
+static AVInputFormat amr_demuxer = {
     "amr",
     "3gpp amr file format",
     0, /*priv_data_size*/
@@ -226,7 +226,7 @@ static AVInputFormat amr_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat amr_oformat = {
+static AVOutputFormat amr_muxer = {
     "amr",
     "3gpp amr file format",
     "audio/amr",
@@ -242,9 +242,9 @@ static AVOutputFormat amr_oformat = {
 
 int amr_init(void)
 {
-    av_register_input_format(&amr_iformat);
+    av_register_input_format(&amr_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&amr_oformat);
+    av_register_output_format(&amr_muxer);
 #endif
     return 0;
 }
index cca441b165aff913187c3accd57fc8014d13dd01..670e5a9d81881f48674172d9c230f806542cf7ad 100644 (file)
@@ -823,7 +823,7 @@ static int asf_write_trailer(AVFormatContext *s)
     return 0;
 }
 
-AVOutputFormat asf_oformat = {
+AVOutputFormat asf_muxer = {
     "asf",
     "asf format",
     "video/x-ms-asf",
@@ -841,7 +841,7 @@ AVOutputFormat asf_oformat = {
     .flags = AVFMT_GLOBALHEADER,
 };
 
-AVOutputFormat asf_stream_oformat = {
+AVOutputFormat asf_stream_muxer = {
     "asf_stream",
     "asf format",
     "video/x-ms-asf",
index fd0da6ed3ac1f9cf45801e1e5cde9e1094b7bed1..88a068094886c8ba8b42f6e0b2edb4bb9865b378 100644 (file)
@@ -840,7 +840,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
     return 0;
 }
 
-static AVInputFormat asf_iformat = {
+static AVInputFormat asf_demuxer = {
     "asf",
     "asf format",
     sizeof(ASFContext),
@@ -853,16 +853,16 @@ static AVInputFormat asf_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-    extern AVOutputFormat asf_oformat;
-    extern AVOutputFormat asf_stream_oformat;
+    extern AVOutputFormat asf_muxer;
+    extern AVOutputFormat asf_stream_muxer;
 #endif //CONFIG_MUXERS
 
 int asf_init(void)
 {
-    av_register_input_format(&asf_iformat);
+    av_register_input_format(&asf_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&asf_oformat);
-    av_register_output_format(&asf_stream_oformat);
+    av_register_output_format(&asf_muxer);
+    av_register_output_format(&asf_stream_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index d81215795bed4b7b817aaaf5cf9e3ab2a77b750c..f4762607e7c7598863c18bdd1533a6fb6394d565 100644 (file)
@@ -178,7 +178,7 @@ static int au_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat au_iformat = {
+static AVInputFormat au_demuxer = {
     "au",
     "SUN AU Format",
     0,
@@ -190,7 +190,7 @@ static AVInputFormat au_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat au_oformat = {
+static AVOutputFormat au_muxer = {
     "au",
     "SUN AU Format",
     "audio/basic",
@@ -206,9 +206,9 @@ static AVOutputFormat au_oformat = {
 
 int au_init(void)
 {
-    av_register_input_format(&au_iformat);
+    av_register_input_format(&au_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&au_oformat);
+    av_register_output_format(&au_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 9a459521296c7576fadd27c58d59b6ec2bbfbc95..a616e6136ce78b41a2b039afd797b4c7e938f797 100644 (file)
@@ -313,7 +313,7 @@ static int audio_read_close(AVFormatContext *s1)
     return 0;
 }
 
-static AVInputFormat audio_in_format = {
+static AVInputFormat audio_demuxer = {
     "audio_device",
     "audio grab and output",
     sizeof(AudioData),
@@ -324,7 +324,7 @@ static AVInputFormat audio_in_format = {
     .flags = AVFMT_NOFILE,
 };
 
-static AVOutputFormat audio_out_format = {
+static AVOutputFormat audio_muxer = {
     "audio_device",
     "audio grab and output",
     "",
@@ -347,7 +347,7 @@ static AVOutputFormat audio_out_format = {
 
 int audio_init(void)
 {
-    av_register_input_format(&audio_in_format);
-    av_register_output_format(&audio_out_format);
+    av_register_input_format(&audio_demuxer);
+    av_register_output_format(&audio_muxer);
     return 0;
 }
index 26e7f78187c312aeec921a56a6d993809a744efb..1eff031de63c2d52738afd57492ce67b248dae7e 100644 (file)
@@ -399,7 +399,7 @@ extern AVImageFormat *first_image_format;
 #include "rtsp.h"
 
 /* yuv4mpeg.c */
-extern AVOutputFormat yuv4mpegpipe_oformat;
+extern AVOutputFormat yuv4mpegpipe_muxer;
 
 /* utils.c */
 void av_register_input_format(AVInputFormat *format);
index 232bbfe4d9f086314e37e55b8663d7d931818eef..918a7b720e01392d108293a36a3ac70fc2c67257 100644 (file)
@@ -923,7 +923,7 @@ static int avi_probe(AVProbeData *p)
         return 0;
 }
 
-static AVInputFormat avi_iformat = {
+static AVInputFormat avi_demuxer = {
     "avi",
     "avi format",
     sizeof(AVIContext),
@@ -936,6 +936,6 @@ static AVInputFormat avi_iformat = {
 
 int avidec_init(void)
 {
-    av_register_input_format(&avi_iformat);
+    av_register_input_format(&avi_demuxer);
     return 0;
 }
index 04c29d1ce5de94bd477a12356268e6a138ad4180..c9b6c08d30f67baf519647100df70b020bacc495 100644 (file)
@@ -762,7 +762,7 @@ static int avi_write_trailer(AVFormatContext *s)
     return res;
 }
 
-static AVOutputFormat avi_oformat = {
+static AVOutputFormat avi_muxer = {
     "avi",
     "avi format",
     "video/x-msvideo",
@@ -777,7 +777,7 @@ static AVOutputFormat avi_oformat = {
 
 int avienc_init(void)
 {
-    av_register_output_format(&avi_oformat);
+    av_register_output_format(&avi_muxer);
     return 0;
 }
 #endif //CONFIG_MUXERS
index 684860b11a9add492cd08df6bc244d7ff1148f86..deb825fb51e067fb16136103e83ee05398843dc7 100644 (file)
@@ -217,7 +217,7 @@ static int avs_read_close(AVFormatContext * s)
     return 0;
 }
 
-static AVInputFormat avs_iformat = {
+static AVInputFormat avs_demuxer = {
     "avs",
     "avs format",
     sizeof(avs_format_t),
@@ -232,7 +232,7 @@ static AVInputFormat avs_iformat = {
 int avs_init(void)
 {
 #ifdef CONFIG_DEMUXERS
-    av_register_input_format(&avs_iformat);
+    av_register_input_format(&avs_demuxer);
 #endif /* CONFIG_DEMUXERS */
     return 0;
 }
index 35591d005acdc304c068133e9cbf3406eb29a81f..273cbd660a8f85ec4dc3b16527b7d963a606385a 100644 (file)
@@ -419,7 +419,7 @@ static int audio_read_close(AVFormatContext *s1)
     return 0;
 }
 
-static AVInputFormat audio_in_format = {
+static AVInputFormat audio_demuxer = {
     "audio_device",
     "audio grab and output",
     sizeof(AudioData),
@@ -431,7 +431,7 @@ static AVInputFormat audio_in_format = {
     AVFMT_NOFILE,
 };
 
-AVOutputFormat audio_out_format = {
+AVOutputFormat audio_muxer = {
     "audio_device",
     "audio grab and output",
     "",
@@ -454,8 +454,8 @@ extern "C" {
 int audio_init(void)
 {
     main_thid = find_thread(NULL);
-    av_register_input_format(&audio_in_format);
-    av_register_output_format(&audio_out_format);
+    av_register_input_format(&audio_demuxer);
+    av_register_output_format(&audio_muxer);
     return 0;
 }
 
index 63eaf1bcdb993978bc950451d064828bea039836..40c181007a5a12eab5245bc3b39aceef34b40266 100644 (file)
@@ -101,7 +101,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-static AVOutputFormat crc_format = {
+static AVOutputFormat crc_muxer = {
     "crc",
     "crc testing format",
     NULL,
@@ -114,7 +114,7 @@ static AVOutputFormat crc_format = {
     crc_write_trailer,
 };
 
-static AVOutputFormat framecrc_format = {
+static AVOutputFormat framecrc_muxer = {
     "framecrc",
     "framecrc testing format",
     NULL,
@@ -129,8 +129,8 @@ static AVOutputFormat framecrc_format = {
 
 int crc_init(void)
 {
-    av_register_output_format(&crc_format);
-    av_register_output_format(&framecrc_format);
+    av_register_output_format(&crc_muxer);
+    av_register_output_format(&framecrc_muxer);
     return 0;
 }
 #endif /* CONFIG_MUXERS */
index f017806cbe1a16c6fb823c488d458bbd9325e091..7799a1f047a453a9ed95cf051ae760f60c69f4f5 100644 (file)
@@ -43,7 +43,7 @@ static int daud_packet(AVFormatContext *s, AVPacket *pkt) {
     return ret;
 }
 
-static AVInputFormat daud_iformat = {
+static AVInputFormat daud_demuxer = {
     "daud",
     "D-Cinema audio format",
     0,
@@ -57,7 +57,7 @@ static AVInputFormat daud_iformat = {
 
 int daud_init(void)
 {
-    av_register_input_format(&daud_iformat);
+    av_register_input_format(&daud_demuxer);
     return 0;
 }
 
index c51d120af2591222e2aa2f558c61ec7da62f8b6d..a47bd3934f0d357c6988054e3422239f0b5124ee 100644 (file)
@@ -180,7 +180,7 @@ static int dc1394_close(AVFormatContext * context)
     return 0;
 }
 
-static AVInputFormat dc1394_format = {
+static AVInputFormat dc1394_demuxer = {
     .name           = "dc1394",
     .long_name      = "dc1394 A/V grab",
     .priv_data_size = sizeof(struct dc1394_data),
@@ -192,6 +192,6 @@ static AVInputFormat dc1394_format = {
 
 int dc1394_init(void)
 {
-    av_register_input_format(&dc1394_format);
+    av_register_input_format(&dc1394_demuxer);
     return 0;
 }
index beb94fa0a2fd52a1560b023f8ff298221ebb27fb..03372114f9b5404c57ce57f28618d0f38cc83632 100644 (file)
@@ -1000,7 +1000,7 @@ static int dv_write_trailer(struct AVFormatContext *s)
 }
 #endif /* CONFIG_MUXERS */
 
-static AVInputFormat dv_iformat = {
+static AVInputFormat dv_demuxer = {
     "dv",
     "DV video format",
     sizeof(RawDVContext),
@@ -1013,7 +1013,7 @@ static AVInputFormat dv_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat dv_oformat = {
+static AVOutputFormat dv_muxer = {
     "dv",
     "DV video format",
     NULL,
@@ -1029,9 +1029,9 @@ static AVOutputFormat dv_oformat = {
 
 int ff_dv_init(void)
 {
-    av_register_input_format(&dv_iformat);
+    av_register_input_format(&dv_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&dv_oformat);
+    av_register_output_format(&dv_muxer);
 #endif
     return 0;
 }
index 1e0a5ab5854903557dff4b08a599731e6af38702..9d229fc957020e140226051b150430d3e496ffde 100644 (file)
@@ -227,7 +227,7 @@ static int dv1394_close(AVFormatContext * context)
     return 0;
 }
 
-static AVInputFormat dv1394_format = {
+static AVInputFormat dv1394_demuxer = {
     .name           = "dv1394",
     .long_name      = "dv1394 A/V grab",
     .priv_data_size = sizeof(struct dv1394_data),
@@ -239,6 +239,6 @@ static AVInputFormat dv1394_format = {
 
 int dv1394_init(void)
 {
-    av_register_input_format(&dv1394_format);
+    av_register_input_format(&dv1394_demuxer);
     return 0;
 }
index df41bbba940e93ba6de380f6f98e0f25e507c204..0b31c4b14740cc952af8651df1b1443e0b2aece8 100644 (file)
@@ -278,7 +278,7 @@ static int ea_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat ea_iformat = {
+static AVInputFormat ea_demuxer = {
     "ea",
     "Electronic Arts Multimedia Format",
     sizeof(EaDemuxContext),
@@ -290,6 +290,6 @@ static AVInputFormat ea_iformat = {
 
 int ea_init(void)
 {
-    av_register_input_format(&ea_iformat);
+    av_register_input_format(&ea_demuxer);
     return 0;
 }
index 987bc828cc362d7245255efe70d932fe55297130..3a0022450ef817264fa84cff184a1ff852d09c14 100644 (file)
@@ -761,7 +761,7 @@ static int ffm_probe(AVProbeData *p)
     return 0;
 }
 
-static AVInputFormat ffm_iformat = {
+static AVInputFormat ffm_demuxer = {
     "ffm",
     "ffm format",
     sizeof(FFMContext),
@@ -773,7 +773,7 @@ static AVInputFormat ffm_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat ffm_oformat = {
+static AVOutputFormat ffm_muxer = {
     "ffm",
     "ffm format",
     "",
@@ -790,9 +790,9 @@ static AVOutputFormat ffm_oformat = {
 
 int ffm_init(void)
 {
-    av_register_input_format(&ffm_iformat);
+    av_register_input_format(&ffm_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&ffm_oformat);
+    av_register_output_format(&ffm_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 82ac1df89b0821310aae4cbd9fa2c85bf89eb7fb..d9fa6c4f96438fc0514b660a325c4db89e6834c5 100644 (file)
@@ -208,7 +208,7 @@ static int flic_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat flic_iformat = {
+static AVInputFormat flic_demuxer = {
     "flic",
     "FLI/FLC/FLX animation format",
     sizeof(FlicDemuxContext),
@@ -220,6 +220,6 @@ static AVInputFormat flic_iformat = {
 
 int flic_init(void)
 {
-    av_register_input_format(&flic_iformat);
+    av_register_input_format(&flic_demuxer);
     return 0;
 }
index 9ac829c3070bbeb636ef1e706e4b0030cf219109..475624f2098fd3eda23da101b8e7ea2b73e0b096 100644 (file)
@@ -211,7 +211,7 @@ static int flv_read_close(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat flv_iformat = {
+AVInputFormat flv_demuxer = {
     "flv",
     "flv format",
     0,
@@ -225,6 +225,6 @@ AVInputFormat flv_iformat = {
 
 int flvdec_init(void)
 {
-    av_register_input_format(&flv_iformat);
+    av_register_input_format(&flv_demuxer);
     return 0;
 }
index d369dcc89a939ff9a37d067d8446c48efd72273c..8518626118752f9c4de1dec16b81eb74242ec7bb 100644 (file)
@@ -167,7 +167,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-static AVOutputFormat flv_oformat = {
+static AVOutputFormat flv_muxer = {
     "flv",
     "flv format",
     "video/x-flv",
@@ -186,6 +186,6 @@ static AVOutputFormat flv_oformat = {
 
 int flvenc_init(void)
 {
-    av_register_output_format(&flv_oformat);
+    av_register_output_format(&flv_muxer);
     return 0;
 }
index c82d174f1ac2f8770bb32ecd8cb8d7f4b4938177..f0e47b334db005bd9529cda33d1fa6c1ef95a42b 100644 (file)
@@ -414,7 +414,7 @@ int gif_write(ByteIOContext *pb, AVImageInfo *info)
     return 0;
 }
 
-static AVOutputFormat gif_oformat = {
+static AVOutputFormat gif_muxer = {
     "gif",
     "GIF Animation",
     "image/gif",
@@ -427,11 +427,11 @@ static AVOutputFormat gif_oformat = {
     gif_write_trailer,
 };
 
-extern AVInputFormat gif_iformat;
+extern AVInputFormat gif_demuxer;
 
 int gif_init(void)
 {
-    av_register_output_format(&gif_oformat);
-    av_register_input_format(&gif_iformat);
+    av_register_output_format(&gif_muxer);
+    av_register_input_format(&gif_demuxer);
     return 0;
 }
index de9e41fdd6c2a6d5ee921fc1c4abd0cedc197fb6..b8f19587c5979cdaca3410d152e806ededa85aed 100644 (file)
@@ -619,7 +619,7 @@ static int gif_read(ByteIOContext *f,
     return 0;
 }
 
-AVInputFormat gif_iformat =
+AVInputFormat gif_demuxer =
 {
     "gif",
     "gif format",
index f40571cd22dbffbf4e42bcc2a7443fc9bd5026a9..9a8bba034e4dc472d84b4c66ca44ffddd04cf33b 100644 (file)
@@ -365,7 +365,7 @@ static int grab_read_close(AVFormatContext *s1)
     return 0;
 }
 
-static AVInputFormat video_grab_device_format = {
+static AVInputFormat video_grab_device_demuxer = {
     "video4linux",
     "video grab",
     sizeof(VideoData),
@@ -851,6 +851,6 @@ static int aiw_close(VideoData *s)
 
 int video_grab_init(void)
 {
-    av_register_input_format(&video_grab_device_format);
+    av_register_input_format(&video_grab_device_demuxer);
     return 0;
 }
index ddfc96bd4b29d38d5c8afbc95a9522f6dc548688..782536c525d575948ad5d65f2f13ef229457dcec 100644 (file)
@@ -316,7 +316,7 @@ static int grab_read_close(AVFormatContext *s1)
     return 0;
 }
 
-AVInputFormat video_grab_device_format = {
+AVInputFormat video_grab_device_demuxer = {
     "bktr",
     "video grab",
      sizeof(VideoData),
@@ -329,6 +329,6 @@ AVInputFormat video_grab_device_format = {
 
 int video_grab_init(void)
 {
-    av_register_input_format(&video_grab_device_format);
+    av_register_input_format(&video_grab_device_demuxer);
     return 0;
 }
index 3056e35d5a225a81960cc2a0754748edd8676983..fbceee1ff8ac0c4ce68a90e29f5cf8d6b4c57ab5 100644 (file)
@@ -241,7 +241,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) {
     return AVERROR_IO;
 }
 
-static AVInputFormat gxf_iformat = {
+static AVInputFormat gxf_demuxer = {
     "gxf",
     "GXF format",
     0,
@@ -253,7 +253,7 @@ static AVInputFormat gxf_iformat = {
 };
 
 int gxf_init(void) {
-    av_register_input_format(&gxf_iformat);
+    av_register_input_format(&gxf_demuxer);
     return 0;
 }
 
index c5d2313f834d6a0fdb40a462fa4cae049c04acd8..fe3f6f3a7640b684787a1a10d3029582076d0462 100644 (file)
@@ -288,7 +288,7 @@ static int idcin_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat idcin_iformat = {
+static AVInputFormat idcin_demuxer = {
     "idcin",
     "Id CIN format",
     sizeof(IdcinDemuxContext),
@@ -300,6 +300,6 @@ static AVInputFormat idcin_iformat = {
 
 int idcin_init(void)
 {
-    av_register_input_format(&idcin_iformat);
+    av_register_input_format(&idcin_demuxer);
     return 0;
 }
index f71d80ec43f20be4e0976cf4262012027a8c2a06..371516277e79a3a63d0f469f3fafd1b8f4572479 100644 (file)
@@ -278,7 +278,7 @@ static int roq_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat roq_iformat = {
+static AVInputFormat roq_demuxer = {
     "RoQ",
     "Id RoQ format",
     sizeof(RoqDemuxContext),
@@ -290,6 +290,6 @@ static AVInputFormat roq_iformat = {
 
 int roq_init(void)
 {
-    av_register_input_format(&roq_iformat);
+    av_register_input_format(&roq_demuxer);
     return 0;
 }
index 888fcfa8c3c7e7a3549516c828151a1c9bca92ba..fe00cdc420b331a3f9ac9d1ac40fea83ed856908 100644 (file)
@@ -340,7 +340,7 @@ static int img_write_trailer(AVFormatContext *s)
 
 /* input */
 
-static AVInputFormat image_iformat = {
+static AVInputFormat image_demuxer = {
     "image",
     "image sequence",
     sizeof(VideoData),
@@ -353,7 +353,7 @@ static AVInputFormat image_iformat = {
     AVFMT_NOFILE | AVFMT_NEEDNUMBER,
 };
 
-static AVInputFormat imagepipe_iformat = {
+static AVInputFormat imagepipe_demuxer = {
     "imagepipe",
     "piped image sequence",
     sizeof(VideoData),
@@ -367,7 +367,7 @@ static AVInputFormat imagepipe_iformat = {
 
 /* output */
 
-static AVOutputFormat image_oformat = {
+static AVOutputFormat image_muxer = {
     "image",
     "image sequence",
     "",
@@ -382,7 +382,7 @@ static AVOutputFormat image_oformat = {
     img_set_parameters,
 };
 
-static AVOutputFormat imagepipe_oformat = {
+static AVOutputFormat imagepipe_muxer = {
     "imagepipe",
     "piped image sequence",
     "",
@@ -399,11 +399,11 @@ static AVOutputFormat imagepipe_oformat = {
 
 int img_init(void)
 {
-    av_register_input_format(&image_iformat);
-    av_register_output_format(&image_oformat);
+    av_register_input_format(&image_demuxer);
+    av_register_output_format(&image_muxer);
 
-    av_register_input_format(&imagepipe_iformat);
-    av_register_output_format(&imagepipe_oformat);
+    av_register_input_format(&imagepipe_demuxer);
+    av_register_output_format(&imagepipe_muxer);
 
     return 0;
 }
index 0f6ce6be64de8e3c7668ebb3a4270d7cacb645d4..21bfb57da3f7158cde8e4dde751a9f39e0c4e1da 100644 (file)
@@ -365,7 +365,7 @@ static int img_write_trailer(AVFormatContext *s)
 
 /* input */
 
-static AVInputFormat image2_iformat = {
+static AVInputFormat image2_demuxer = {
     "image2",
     "image2 sequence",
     sizeof(VideoData),
@@ -378,7 +378,7 @@ static AVInputFormat image2_iformat = {
     AVFMT_NOFILE,
 };
 
-static AVInputFormat image2pipe_iformat = {
+static AVInputFormat image2pipe_demuxer = {
     "image2pipe",
     "piped image2 sequence",
     sizeof(VideoData),
@@ -393,7 +393,7 @@ static AVInputFormat image2pipe_iformat = {
 #ifdef CONFIG_MUXERS
 /* output */
 
-static AVOutputFormat image2_oformat = {
+static AVOutputFormat image2_muxer = {
     "image2",
     "image2 sequence",
     "",
@@ -407,7 +407,7 @@ static AVOutputFormat image2_oformat = {
     AVFMT_NOFILE,
 };
 
-static AVOutputFormat image2pipe_oformat = {
+static AVOutputFormat image2pipe_muxer = {
     "image2pipe",
     "piped image2 sequence",
     "",
@@ -423,12 +423,12 @@ static AVOutputFormat image2pipe_oformat = {
 
 int img2_init(void)
 {
-    av_register_input_format(&image2_iformat);
-    av_register_input_format(&image2pipe_iformat);
+    av_register_input_format(&image2_demuxer);
+    av_register_input_format(&image2pipe_demuxer);
 
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&image2_oformat);
-    av_register_output_format(&image2pipe_oformat);
+    av_register_output_format(&image2_muxer);
+    av_register_output_format(&image2pipe_muxer);
 #endif
 
     return 0;
index 731b0396bc7a31e8dd91efe3a7a29f7d4b382df1..430a7c63349145eef866097b1fa90a735a642eda 100644 (file)
@@ -612,7 +612,7 @@ static int ipmovie_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat ipmovie_iformat = {
+static AVInputFormat ipmovie_demuxer = {
     "ipmovie",
     "Interplay MVE format",
     sizeof(IPMVEContext),
@@ -624,7 +624,7 @@ static AVInputFormat ipmovie_iformat = {
 
 int ipmovie_init(void)
 {
-    av_register_input_format(&ipmovie_iformat);
+    av_register_input_format(&ipmovie_demuxer);
     return 0;
 }
 
index 3e33eccab936e3ec9aeffb80d7a98703640e6aea..3d4fca681e4c187848daa657758b884fd3852484 100644 (file)
@@ -2635,7 +2635,7 @@ matroska_read_close (AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat matroska_iformat = {
+static AVInputFormat matroska_demuxer = {
     "matroska",
     "Matroska file format",
     sizeof(MatroskaDemuxContext),
@@ -2648,6 +2648,6 @@ static AVInputFormat matroska_iformat = {
 int
 matroska_init(void)
 {
-    av_register_input_format(&matroska_iformat);
+    av_register_input_format(&matroska_demuxer);
     return 0;
 }
index aa857d4c791813610288bb94e539ee8363bc2971..8252f11b0b6ab5ad67e4437c6a9b63e33519eb37 100644 (file)
@@ -199,7 +199,7 @@ static int mm_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat mm_iformat = {
+static AVInputFormat mm_demuxer = {
     "mm",
     "American Laser Games MM format",
     sizeof(MmDemuxContext),
@@ -211,6 +211,6 @@ static AVInputFormat mm_iformat = {
 
 int mm_init(void)
 {
-    av_register_input_format(&mm_iformat);
+    av_register_input_format(&mm_demuxer);
     return 0;
 }
index a8220c5ea50eade776993a01b79a145a9c59e36a..d43667b23a3d624eeca5c2874739378ca3119f04 100644 (file)
@@ -302,7 +302,7 @@ static int mmf_read_seek(AVFormatContext *s,
 }
 
 
-static AVInputFormat mmf_iformat = {
+static AVInputFormat mmf_demuxer = {
     "mmf",
     "mmf format",
     sizeof(MMFContext),
@@ -314,7 +314,7 @@ static AVInputFormat mmf_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat mmf_oformat = {
+static AVOutputFormat mmf_muxer = {
     "mmf",
     "mmf format",
     "application/vnd.smaf",
@@ -330,9 +330,9 @@ static AVOutputFormat mmf_oformat = {
 
 int ff_mmf_init(void)
 {
-    av_register_input_format(&mmf_iformat);
+    av_register_input_format(&mmf_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&mmf_oformat);
+    av_register_output_format(&mmf_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 00845e15febadb7caf6632052834e5e4e07b3eed..da5d652a2696c9cf0fdf23091234a8baad192c38 100644 (file)
@@ -1907,7 +1907,7 @@ static int mov_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat mov_iformat = {
+static AVInputFormat mov_demuxer = {
     "mov,mp4,m4a,3gp,3g2,mj2",
     "QuickTime/MPEG4/Motion JPEG 2000 format",
     sizeof(MOVContext),
@@ -1920,6 +1920,6 @@ static AVInputFormat mov_iformat = {
 
 int mov_init(void)
 {
-    av_register_input_format(&mov_iformat);
+    av_register_input_format(&mov_demuxer);
     return 0;
 }
index 30e3b001d8568d2d16a33121c5bd87998ba06f29..e6241d6302e25ab74d4a9aa5b4ebb9e745615bc4 100644 (file)
@@ -1588,7 +1588,7 @@ static int mov_write_trailer(AVFormatContext *s)
     return res;
 }
 
-static AVOutputFormat mov_oformat = {
+static AVOutputFormat mov_muxer = {
     "mov",
     "mov format",
     NULL,
@@ -1602,7 +1602,7 @@ static AVOutputFormat mov_oformat = {
     .flags = AVFMT_GLOBALHEADER,
 };
 
-static AVOutputFormat _3gp_oformat = {
+static AVOutputFormat _3gp_muxer = {
     "3gp",
     "3gp format",
     NULL,
@@ -1616,7 +1616,7 @@ static AVOutputFormat _3gp_oformat = {
     .flags = AVFMT_GLOBALHEADER,
 };
 
-static AVOutputFormat mp4_oformat = {
+static AVOutputFormat mp4_muxer = {
     "mp4",
     "mp4 format",
     "application/mp4",
@@ -1630,7 +1630,7 @@ static AVOutputFormat mp4_oformat = {
     .flags = AVFMT_GLOBALHEADER,
 };
 
-static AVOutputFormat psp_oformat = {
+static AVOutputFormat psp_muxer = {
     "psp",
     "psp mp4 format",
     NULL,
@@ -1644,7 +1644,7 @@ static AVOutputFormat psp_oformat = {
     .flags = AVFMT_GLOBALHEADER,
 };
 
-static AVOutputFormat _3g2_oformat = {
+static AVOutputFormat _3g2_muxer = {
     "3g2",
     "3gp2 format",
     NULL,
@@ -1660,10 +1660,10 @@ static AVOutputFormat _3g2_oformat = {
 
 int movenc_init(void)
 {
-    av_register_output_format(&mov_oformat);
-    av_register_output_format(&_3gp_oformat);
-    av_register_output_format(&mp4_oformat);
-    av_register_output_format(&psp_oformat);
-    av_register_output_format(&_3g2_oformat);
+    av_register_output_format(&mov_muxer);
+    av_register_output_format(&_3gp_muxer);
+    av_register_output_format(&mp4_muxer);
+    av_register_output_format(&psp_muxer);
+    av_register_output_format(&_3g2_muxer);
     return 0;
 }
index 37bb3251beca3c2049a3755088c0f9a9a483ceaa..cdf02dc88ba43439f358dd5682fae6085a22b265 100644 (file)
@@ -368,7 +368,7 @@ static int mp3_write_trailer(struct AVFormatContext *s)
 }
 #endif //CONFIG_MUXERS
 
-AVInputFormat mp3_iformat = {
+AVInputFormat mp3_demuxer = {
     "mp3",
     "MPEG audio",
     0,
@@ -380,7 +380,7 @@ AVInputFormat mp3_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat mp2_oformat = {
+AVOutputFormat mp2_muxer = {
     "mp2",
     "MPEG audio layer 2",
     "audio/x-mpeg",
@@ -398,7 +398,7 @@ AVOutputFormat mp2_oformat = {
 };
 
 #ifdef CONFIG_MP3LAME
-AVOutputFormat mp3_oformat = {
+AVOutputFormat mp3_muxer = {
     "mp3",
     "MPEG audio layer 3",
     "audio/x-mpeg",
@@ -415,11 +415,11 @@ AVOutputFormat mp3_oformat = {
 
 int mp3_init(void)
 {
-    av_register_input_format(&mp3_iformat);
+    av_register_input_format(&mp3_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&mp2_oformat);
+    av_register_output_format(&mp2_muxer);
 #ifdef CONFIG_MP3LAME
-    av_register_output_format(&mp3_oformat);
+    av_register_output_format(&mp3_muxer);
 #endif
 #endif //CONFIG_MUXERS
     return 0;
index e5f76bdc0d2d1f115a19aaaed436afbb19da771b..8bd86bdeb0bb02817267fa6d0f52db6fea62742b 100644 (file)
@@ -108,11 +108,11 @@ typedef struct {
 static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat mpeg1system_mux;
-static AVOutputFormat mpeg1vcd_mux;
-static AVOutputFormat mpeg2vob_mux;
-static AVOutputFormat mpeg2svcd_mux;
-static AVOutputFormat mpeg2dvd_mux;
+static AVOutputFormat mpeg1system_muxer;
+static AVOutputFormat mpeg1vcd_muxer;
+static AVOutputFormat mpeg2vob_muxer;
+static AVOutputFormat mpeg2svcd_muxer;
+static AVOutputFormat mpeg2dvd_muxer;
 
 static int put_pack_header(AVFormatContext *ctx,
                            uint8_t *buf, int64_t timestamp)
@@ -330,10 +330,10 @@ static int mpeg_mux_init(AVFormatContext *ctx)
     int video_bitrate;
 
     s->packet_number = 0;
-    s->is_vcd = (ctx->oformat == &mpeg1vcd_mux);
-    s->is_svcd = (ctx->oformat == &mpeg2svcd_mux);
-    s->is_mpeg2 = (ctx->oformat == &mpeg2vob_mux || ctx->oformat == &mpeg2svcd_mux || ctx->oformat == &mpeg2dvd_mux);
-    s->is_dvd = (ctx->oformat == &mpeg2dvd_mux);
+    s->is_vcd = (ctx->oformat == &mpeg1vcd_muxer);
+    s->is_svcd = (ctx->oformat == &mpeg2svcd_muxer);
+    s->is_mpeg2 = (ctx->oformat == &mpeg2vob_muxer || ctx->oformat == &mpeg2svcd_muxer || ctx->oformat == &mpeg2dvd_muxer);
+    s->is_dvd = (ctx->oformat == &mpeg2dvd_muxer);
 
     if(ctx->packet_size)
         s->packet_size = ctx->packet_size;
@@ -1713,7 +1713,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
 }
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat mpeg1system_mux = {
+static AVOutputFormat mpeg1system_muxer = {
     "mpeg",
     "MPEG1 System format",
     "video/mpeg",
@@ -1726,7 +1726,7 @@ static AVOutputFormat mpeg1system_mux = {
     mpeg_mux_end,
 };
 
-static AVOutputFormat mpeg1vcd_mux = {
+static AVOutputFormat mpeg1vcd_muxer = {
     "vcd",
     "MPEG1 System format (VCD)",
     "video/mpeg",
@@ -1739,7 +1739,7 @@ static AVOutputFormat mpeg1vcd_mux = {
     mpeg_mux_end,
 };
 
-static AVOutputFormat mpeg2vob_mux = {
+static AVOutputFormat mpeg2vob_muxer = {
     "vob",
     "MPEG2 PS format (VOB)",
     "video/mpeg",
@@ -1752,8 +1752,8 @@ static AVOutputFormat mpeg2vob_mux = {
     mpeg_mux_end,
 };
 
-/* Same as mpeg2vob_mux except that the pack size is 2324 */
-static AVOutputFormat mpeg2svcd_mux = {
+/* Same as mpeg2vob_muxer except that the pack size is 2324 */
+static AVOutputFormat mpeg2svcd_muxer = {
     "svcd",
     "MPEG2 PS format (VOB)",
     "video/mpeg",
@@ -1766,8 +1766,8 @@ static AVOutputFormat mpeg2svcd_mux = {
     mpeg_mux_end,
 };
 
-/*  Same as mpeg2vob_mux except the 'is_dvd' flag is set to produce NAV pkts */
-static AVOutputFormat mpeg2dvd_mux = {
+/*  Same as mpeg2vob_muxer except the 'is_dvd' flag is set to produce NAV pkts */
+static AVOutputFormat mpeg2dvd_muxer = {
     "dvd",
     "MPEG2 PS format (DVD VOB)",
     "video/mpeg",
@@ -1782,7 +1782,7 @@ static AVOutputFormat mpeg2dvd_mux = {
 
 #endif //CONFIG_MUXERS
 
-AVInputFormat mpegps_demux = {
+AVInputFormat mpegps_demuxer = {
     "mpeg",
     "MPEG PS format",
     sizeof(MpegDemuxContext),
@@ -1798,12 +1798,12 @@ AVInputFormat mpegps_demux = {
 int mpegps_init(void)
 {
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&mpeg1system_mux);
-    av_register_output_format(&mpeg1vcd_mux);
-    av_register_output_format(&mpeg2vob_mux);
-    av_register_output_format(&mpeg2svcd_mux);
-    av_register_output_format(&mpeg2dvd_mux);
+    av_register_output_format(&mpeg1system_muxer);
+    av_register_output_format(&mpeg1vcd_muxer);
+    av_register_output_format(&mpeg2vob_muxer);
+    av_register_output_format(&mpeg2svcd_muxer);
+    av_register_output_format(&mpeg2dvd_muxer);
 #endif //CONFIG_MUXERS
-    av_register_input_format(&mpegps_demux);
+    av_register_input_format(&mpegps_demuxer);
     return 0;
 }
index 7076fb1234830789dc5127a11fa69bc42fb75d34..177576013f443c4aee726f9a567a6f6ff1ae087f 100644 (file)
@@ -1511,7 +1511,7 @@ void mpegts_parse_close(MpegTSContext *ts)
     av_free(ts);
 }
 
-AVInputFormat mpegts_demux = {
+AVInputFormat mpegts_demuxer = {
     "mpegts",
     "MPEG2 transport stream format",
     sizeof(MpegTSContext),
@@ -1526,9 +1526,9 @@ AVInputFormat mpegts_demux = {
 
 int mpegts_init(void)
 {
-    av_register_input_format(&mpegts_demux);
+    av_register_input_format(&mpegts_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&mpegts_mux);
+    av_register_output_format(&mpegts_muxer);
 #endif
     return 0;
 }
index 193e86afa587ce1477685542ed01b4f1e4f692f5..9d2948a5ac834af10c9665236cacfcb7e49f1657 100644 (file)
@@ -51,7 +51,7 @@
 #define STREAM_TYPE_SUBTITLE_DVB    0x100
 
 unsigned int mpegts_crc32(const uint8_t *data, int len);
-extern AVOutputFormat mpegts_mux;
+extern AVOutputFormat mpegts_muxer;
 
 typedef struct MpegTSContext MpegTSContext;
 
index ad19516b4610cc41d41c087ff5111a5eacb823a8..7ca234e4dd78e787df829db299e1413aa981a550 100644 (file)
@@ -661,7 +661,7 @@ static int mpegts_write_end(AVFormatContext *s)
     return 0;
 }
 
-AVOutputFormat mpegts_mux = {
+AVOutputFormat mpegts_muxer = {
     "mpegts",
     "MPEG2 transport stream format",
     "video/x-mpegts",
index b1621cfa5bcc882af0a7a253c185039acc5cd246..2f2da0586aca6b164b60717d6eee30da90a27866 100644 (file)
@@ -52,7 +52,7 @@ static int mpjpeg_write_trailer(AVFormatContext *s)
     return 0;
 }
 
-static AVOutputFormat mpjpeg_format = {
+static AVOutputFormat mpjpeg_muxer = {
     "mpjpeg",
     "Mime multipart JPEG format",
     "multipart/x-mixed-replace;boundary=" BOUNDARY_TAG,
@@ -67,7 +67,7 @@ static AVOutputFormat mpjpeg_format = {
 
 int jpeg_init(void)
 {
-    av_register_output_format(&mpjpeg_format);
+    av_register_output_format(&mpjpeg_muxer);
     return 0;
 }
 #endif //CONFIG_MUXERS
index 32afbc411421a585feb44856291ab277e58c8068..b59fa60e09ef74497751fbfa1813cd9b767c4672 100644 (file)
@@ -742,7 +742,7 @@ static int nsv_probe(AVProbeData *p)
     return 0;
 }
 
-static AVInputFormat nsv_iformat = {
+static AVInputFormat nsv_demuxer = {
     "nsv",
     "NullSoft Video format",
     sizeof(NSVContext),
@@ -755,6 +755,6 @@ static AVInputFormat nsv_iformat = {
 
 int nsvdec_init(void)
 {
-    av_register_input_format(&nsv_iformat);
+    av_register_input_format(&nsv_demuxer);
     return 0;
 }
index 1605afa9ae10702ee61bbdf0b3ec0175071cc840..d3e37ea076e2b00130a95f831d8ddab36bc6acd3 100644 (file)
@@ -1419,7 +1419,7 @@ static int nut_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat nut_iformat = {
+static AVInputFormat nut_demuxer = {
     "nut",
     "nut format",
     sizeof(NUTContext),
@@ -1433,7 +1433,7 @@ static AVInputFormat nut_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat nut_oformat = {
+static AVOutputFormat nut_muxer = {
     "nut",
     "nut format",
     "video/x-nut",
@@ -1456,9 +1456,9 @@ static AVOutputFormat nut_oformat = {
 
 int nut_init(void)
 {
-    av_register_input_format(&nut_iformat);
+    av_register_input_format(&nut_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&nut_oformat);
+    av_register_output_format(&nut_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 5cb1a3c88ceacf0426564dfcf77e916a9bb80908..4043bdfbd8fc31fe2799e77527f50a9618b92f89 100644 (file)
@@ -227,7 +227,7 @@ static int nuv_packet(AVFormatContext *s, AVPacket *pkt) {
     return AVERROR_IO;
 }
 
-static AVInputFormat nuv_iformat = {
+static AVInputFormat nuv_demuxer = {
     "nuv",
     "NuppelVideo format",
     sizeof(NUVContext),
@@ -239,7 +239,7 @@ static AVInputFormat nuv_iformat = {
 };
 
 int nuv_init(void) {
-    av_register_input_format(&nuv_iformat);
+    av_register_input_format(&nuv_demuxer);
     return 0;
 }
 
index 37158981ae536c8cf75e4f982543fc53f8d6ab61..f3be7e908b611f17291a220908e81b438c606b37 100644 (file)
@@ -137,7 +137,7 @@ static int ogg_write_trailer(AVFormatContext *avfcontext) {
 }
 
 
-static AVOutputFormat ogg_oformat = {
+static AVOutputFormat ogg_muxer = {
     "ogg",
     "Ogg Vorbis",
     "audio/x-vorbis",
@@ -254,7 +254,7 @@ static int ogg_read_close(AVFormatContext *avfcontext) {
 }
 
 
-static AVInputFormat ogg_iformat = {
+static AVInputFormat ogg_demuxer = {
     "ogg",
     "Ogg Vorbis",
     sizeof(OggContext),
@@ -268,8 +268,8 @@ static AVInputFormat ogg_iformat = {
 
 int libogg_init(void) {
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&ogg_oformat) ;
+    av_register_output_format(&ogg_muxer) ;
 #endif
-/*     av_register_input_format(&ogg_iformat); */
+/*     av_register_input_format(&ogg_demuxer); */
     return 0 ;
 }
index 1a0eb38821b24164bb4837d29af77196454cdc37..1d49e211166b08245ea2ff8da96ba4636ef51276 100644 (file)
@@ -65,7 +65,7 @@ ogg_write_trailer (AVFormatContext * avfcontext)
 }
 
 
-static AVOutputFormat ogg_oformat = {
+static AVOutputFormat ogg_muxer = {
     "ogg",
     "Ogg Vorbis",
     "audio/x-vorbis",
@@ -656,7 +656,7 @@ static int ogg_probe(AVProbeData *p)
         return 0;
 }
 
-static AVInputFormat ogg_iformat = {
+static AVInputFormat ogg_demuxer = {
     "ogg",
     "Ogg",
     sizeof (ogg_t),
@@ -673,8 +673,8 @@ int
 ogg_init (void)
 {
 #if 0 // CONFIG_MUXERS
-    av_register_output_format (&ogg_oformat);
+    av_register_output_format (&ogg_muxer);
 #endif
-    av_register_input_format (&ogg_iformat);
+    av_register_input_format (&ogg_demuxer);
     return 0;
 }
index cd6486679e36afa32ee8d9d119c41609e9c11072..68d82a950b5d0be27d6b79e31e8b03115d6c4652 100644 (file)
@@ -351,7 +351,7 @@ static int str_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat str_iformat = {
+static AVInputFormat str_demuxer = {
     "psxstr",
     "Sony Playstation STR format",
     sizeof(StrDemuxContext),
@@ -363,6 +363,6 @@ static AVInputFormat str_iformat = {
 
 int str_init(void)
 {
-    av_register_input_format(&str_iformat);
+    av_register_input_format(&str_demuxer);
     return 0;
 }
index 9b6516be1a2a0176e9644e3f54fb1d79e4a37112..d69a5d7b95a44fd3b0f362085366aec1d2d93b52 100644 (file)
@@ -389,7 +389,7 @@ static int h261_probe(AVProbeData *p)
     return 0;
 }
 
-AVInputFormat shorten_iformat = {
+AVInputFormat shorten_demuxer = {
     "shn",
     "raw shorten",
     0,
@@ -400,7 +400,7 @@ AVInputFormat shorten_iformat = {
     .extensions = "shn",
 };
 
-AVInputFormat flac_iformat = {
+AVInputFormat flac_demuxer = {
     "flac",
     "raw flac",
     0,
@@ -412,7 +412,7 @@ AVInputFormat flac_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat flac_oformat = {
+AVOutputFormat flac_muxer = {
     "flac",
     "raw flac",
     "audio/x-flac",
@@ -426,7 +426,7 @@ AVOutputFormat flac_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat ac3_iformat = {
+AVInputFormat ac3_demuxer = {
     "ac3",
     "raw ac3",
     0,
@@ -438,7 +438,7 @@ AVInputFormat ac3_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat ac3_oformat = {
+AVOutputFormat ac3_muxer = {
     "ac3",
     "raw ac3",
     "audio/x-ac3",
@@ -452,7 +452,7 @@ AVOutputFormat ac3_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat dts_iformat = {
+AVInputFormat dts_demuxer = {
     "dts",
     "raw dts",
     0,
@@ -463,7 +463,7 @@ AVInputFormat dts_iformat = {
     .extensions = "dts",
 };
 
-AVInputFormat aac_iformat = {
+AVInputFormat aac_demuxer = {
     "aac",
     "ADTS AAC",
     0,
@@ -474,7 +474,7 @@ AVInputFormat aac_iformat = {
     .extensions = "aac",
 };
 
-AVInputFormat h261_iformat = {
+AVInputFormat h261_demuxer = {
     "h261",
     "raw h261",
     0,
@@ -487,7 +487,7 @@ AVInputFormat h261_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat h261_oformat = {
+AVOutputFormat h261_muxer = {
     "h261",
     "raw h261",
     "video/x-h261",
@@ -501,7 +501,7 @@ AVOutputFormat h261_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat h263_iformat = {
+AVInputFormat h263_demuxer = {
     "h263",
     "raw h263",
     0,
@@ -514,7 +514,7 @@ AVInputFormat h263_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat h263_oformat = {
+AVOutputFormat h263_muxer = {
     "h263",
     "raw h263",
     "video/x-h263",
@@ -528,7 +528,7 @@ AVOutputFormat h263_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat m4v_iformat = {
+AVInputFormat m4v_demuxer = {
     "m4v",
     "raw MPEG4 video format",
     0,
@@ -541,7 +541,7 @@ AVInputFormat m4v_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat m4v_oformat = {
+AVOutputFormat m4v_muxer = {
     "m4v",
     "raw MPEG4 video format",
     NULL,
@@ -555,7 +555,7 @@ AVOutputFormat m4v_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat h264_iformat = {
+AVInputFormat h264_demuxer = {
     "h264",
     "raw H264 video format",
     0,
@@ -568,7 +568,7 @@ AVInputFormat h264_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat h264_oformat = {
+AVOutputFormat h264_muxer = {
     "h264",
     "raw H264 video format",
     NULL,
@@ -582,7 +582,7 @@ AVOutputFormat h264_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat mpegvideo_iformat = {
+AVInputFormat mpegvideo_demuxer = {
     "mpegvideo",
     "MPEG video",
     0,
@@ -594,7 +594,7 @@ AVInputFormat mpegvideo_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat mpeg1video_oformat = {
+AVOutputFormat mpeg1video_muxer = {
     "mpeg1video",
     "MPEG video",
     "video/x-mpeg",
@@ -609,7 +609,7 @@ AVOutputFormat mpeg1video_oformat = {
 #endif //CONFIG_MUXERS
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat mpeg2video_oformat = {
+AVOutputFormat mpeg2video_muxer = {
     "mpeg2video",
     "MPEG2 video",
     NULL,
@@ -623,7 +623,7 @@ AVOutputFormat mpeg2video_oformat = {
 };
 #endif //CONFIG_MUXERS
 
-AVInputFormat mjpeg_iformat = {
+AVInputFormat mjpeg_demuxer = {
     "mjpeg",
     "MJPEG video",
     0,
@@ -635,7 +635,7 @@ AVInputFormat mjpeg_iformat = {
     .value = CODEC_ID_MJPEG,
 };
 
-AVInputFormat ingenient_iformat = {
+AVInputFormat ingenient_demuxer = {
     "ingenient",
     "Ingenient MJPEG",
     0,
@@ -648,7 +648,7 @@ AVInputFormat ingenient_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat mjpeg_oformat = {
+AVOutputFormat mjpeg_muxer = {
     "mjpeg",
     "MJPEG video",
     "video/x-mjpeg",
@@ -665,7 +665,7 @@ AVOutputFormat mjpeg_oformat = {
 /* pcm formats */
 
 #define PCMINPUTDEF(name, long_name, ext, codec) \
-AVInputFormat pcm_ ## name ## _iformat = {\
+AVInputFormat pcm_ ## name ## _demuxer = {\
     #name,\
     long_name,\
     0,\
@@ -679,7 +679,7 @@ AVInputFormat pcm_ ## name ## _iformat = {\
 };
 
 #define PCMOUTPUTDEF(name, long_name, ext, codec) \
-AVOutputFormat pcm_ ## name ## _oformat = {\
+AVOutputFormat pcm_ ## name ## _muxer = {\
     #name,\
     long_name,\
     NULL,\
@@ -762,7 +762,7 @@ static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
     }
 }
 
-AVInputFormat rawvideo_iformat = {
+AVInputFormat rawvideo_demuxer = {
     "rawvideo",
     "raw video format",
     0,
@@ -775,7 +775,7 @@ AVInputFormat rawvideo_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-AVOutputFormat rawvideo_oformat = {
+AVOutputFormat rawvideo_muxer = {
     "rawvideo",
     "raw video format",
     NULL,
@@ -795,7 +795,7 @@ static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
     return 0;
 }
 
-AVOutputFormat null_oformat = {
+AVOutputFormat null_muxer = {
     "null",
     "null video format",
     NULL,
@@ -824,59 +824,59 @@ AVOutputFormat null_oformat = {
 int raw_init(void)
 {
 
-    av_register_input_format(&shorten_iformat);
-    av_register_input_format(&flac_iformat);
-    av_register_output_format(&flac_oformat);
+    av_register_input_format(&shorten_demuxer);
+    av_register_input_format(&flac_demuxer);
+    av_register_output_format(&flac_muxer);
 
-    av_register_input_format(&ac3_iformat);
-    av_register_output_format(&ac3_oformat);
+    av_register_input_format(&ac3_demuxer);
+    av_register_output_format(&ac3_muxer);
 
-    av_register_input_format(&aac_iformat);
+    av_register_input_format(&aac_demuxer);
 
-    av_register_input_format(&dts_iformat);
+    av_register_input_format(&dts_demuxer);
 
-    av_register_input_format(&h261_iformat);
-    av_register_output_format(&h261_oformat);
+    av_register_input_format(&h261_demuxer);
+    av_register_output_format(&h261_muxer);
 
-    av_register_input_format(&h263_iformat);
-    av_register_output_format(&h263_oformat);
+    av_register_input_format(&h263_demuxer);
+    av_register_output_format(&h263_muxer);
 
-    av_register_input_format(&m4v_iformat);
-    av_register_output_format(&m4v_oformat);
+    av_register_input_format(&m4v_demuxer);
+    av_register_output_format(&m4v_muxer);
 
-    av_register_input_format(&h264_iformat);
-    av_register_output_format(&h264_oformat);
+    av_register_input_format(&h264_demuxer);
+    av_register_output_format(&h264_muxer);
 
-    av_register_input_format(&mpegvideo_iformat);
-    av_register_output_format(&mpeg1video_oformat);
+    av_register_input_format(&mpegvideo_demuxer);
+    av_register_output_format(&mpeg1video_muxer);
 
-    av_register_output_format(&mpeg2video_oformat);
+    av_register_output_format(&mpeg2video_muxer);
 
-    av_register_input_format(&mjpeg_iformat);
-    av_register_output_format(&mjpeg_oformat);
+    av_register_input_format(&mjpeg_demuxer);
+    av_register_output_format(&mjpeg_muxer);
 
-    av_register_input_format(&ingenient_iformat);
+    av_register_input_format(&ingenient_demuxer);
 
-    av_register_input_format(&pcm_s16le_iformat);
-    av_register_output_format(&pcm_s16le_oformat);
-    av_register_input_format(&pcm_s16be_iformat);
-    av_register_output_format(&pcm_s16be_oformat);
-    av_register_input_format(&pcm_u16le_iformat);
-    av_register_output_format(&pcm_u16le_oformat);
-    av_register_input_format(&pcm_u16be_iformat);
-    av_register_output_format(&pcm_u16be_oformat);
-    av_register_input_format(&pcm_s8_iformat);
-    av_register_output_format(&pcm_s8_oformat);
-    av_register_input_format(&pcm_u8_iformat);
-    av_register_output_format(&pcm_u8_oformat);
-    av_register_input_format(&pcm_mulaw_iformat);
-    av_register_output_format(&pcm_mulaw_oformat);
-    av_register_input_format(&pcm_alaw_iformat);
-    av_register_output_format(&pcm_alaw_oformat);
+    av_register_input_format(&pcm_s16le_demuxer);
+    av_register_output_format(&pcm_s16le_muxer);
+    av_register_input_format(&pcm_s16be_demuxer);
+    av_register_output_format(&pcm_s16be_muxer);
+    av_register_input_format(&pcm_u16le_demuxer);
+    av_register_output_format(&pcm_u16le_muxer);
+    av_register_input_format(&pcm_u16be_demuxer);
+    av_register_output_format(&pcm_u16be_muxer);
+    av_register_input_format(&pcm_s8_demuxer);
+    av_register_output_format(&pcm_s8_muxer);
+    av_register_input_format(&pcm_u8_demuxer);
+    av_register_output_format(&pcm_u8_muxer);
+    av_register_input_format(&pcm_mulaw_demuxer);
+    av_register_output_format(&pcm_mulaw_muxer);
+    av_register_input_format(&pcm_alaw_demuxer);
+    av_register_output_format(&pcm_alaw_muxer);
 
-    av_register_input_format(&rawvideo_iformat);
-    av_register_output_format(&rawvideo_oformat);
+    av_register_input_format(&rawvideo_demuxer);
+    av_register_output_format(&rawvideo_muxer);
 
-    av_register_output_format(&null_oformat);
+    av_register_output_format(&null_muxer);
     return 0;
 }
index 444fc698f773ddc9c2297fc01e93953dbaf8ed5e..e7cc4aa45ab3f3901058fcacb14eb6d332530aee 100644 (file)
@@ -1122,7 +1122,7 @@ static int64_t rm_read_dts(AVFormatContext *s, int stream_index,
     return dts;
 }
 
-static AVInputFormat rm_iformat = {
+static AVInputFormat rm_demuxer = {
     "rm",
     "rm format",
     sizeof(RMContext),
@@ -1135,7 +1135,7 @@ static AVInputFormat rm_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat rm_oformat = {
+static AVOutputFormat rm_muxer = {
     "rm",
     "rm format",
     "application/vnd.rn-realmedia",
@@ -1151,9 +1151,9 @@ static AVOutputFormat rm_oformat = {
 
 int rm_init(void)
 {
-    av_register_input_format(&rm_iformat);
+    av_register_input_format(&rm_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&rm_oformat);
+    av_register_output_format(&rm_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 67ad3efdb0f0436c33b98b4faa552c2c6a302898..e294ecdab578e02d9d8e70af31c42522a4cf41af 100644 (file)
@@ -860,7 +860,7 @@ static int rtp_write_trailer(AVFormatContext *s1)
     return 0;
 }
 
-AVOutputFormat rtp_mux = {
+AVOutputFormat rtp_muxer = {
     "rtp",
     "RTP output format",
     NULL,
@@ -875,6 +875,6 @@ AVOutputFormat rtp_mux = {
 
 int rtp_init(void)
 {
-    av_register_output_format(&rtp_mux);
+    av_register_output_format(&rtp_muxer);
     return 0;
 }
index d6fb42622e2d48cc77d252282a2a11aca6fe953c..8cb4caec8c5cadb6e9d0057c995d1821d754caae 100644 (file)
@@ -33,8 +33,8 @@ int rtp_parse_packet(RTPDemuxContext *s, AVPacket *pkt,
                      const uint8_t *buf, int len);
 void rtp_parse_close(RTPDemuxContext *s);
 
-extern AVOutputFormat rtp_mux;
-extern AVInputFormat rtp_demux;
+extern AVOutputFormat rtp_muxer;
+extern AVInputFormat rtp_demuxer;
 
 int rtp_get_local_port(URLContext *h);
 int rtp_set_remote_url(URLContext *h, const char *uri);
index a4bd40f25a322ed1c2ca7f34ac1c8c94fc708645..45acadb293e13f6049821a5f8bee2d4aef095611 100644 (file)
@@ -1245,7 +1245,7 @@ static int rtsp_read_close(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat rtsp_demux = {
+AVInputFormat rtsp_demuxer = {
     "rtsp",
     "RTSP input format",
     sizeof(RTSPState),
@@ -1346,7 +1346,7 @@ static int sdp_read_close(AVFormatContext *s)
 }
 
 
-static AVInputFormat sdp_demux = {
+static AVInputFormat sdp_demuxer = {
     "sdp",
     "SDP",
     sizeof(RTSPState),
@@ -1410,7 +1410,7 @@ int redir_open(AVFormatContext **ic_ptr, ByteIOContext *f)
         return 0;
 }
 
-AVInputFormat redir_demux = {
+AVInputFormat redir_demuxer = {
     "redir",
     "Redirector format",
     0,
@@ -1422,8 +1422,8 @@ AVInputFormat redir_demux = {
 
 int rtsp_init(void)
 {
-    av_register_input_format(&rtsp_demux);
-    av_register_input_format(&redir_demux);
-    av_register_input_format(&sdp_demux);
+    av_register_input_format(&rtsp_demuxer);
+    av_register_input_format(&redir_demuxer);
+    av_register_input_format(&sdp_demuxer);
     return 0;
 }
index a58eb43228c67883b4089cf843836b6a2203e525..6afa4bfb5a7c916592bee2a747b2c68cef58127b 100644 (file)
@@ -88,7 +88,7 @@ extern int rtsp_default_protocols;
 extern int rtsp_rtp_port_min;
 extern int rtsp_rtp_port_max;
 extern FFRTSPCallback *ff_rtsp_callback;
-extern AVInputFormat rtsp_demux;
+extern AVInputFormat rtsp_demuxer;
 
 int rtsp_pause(AVFormatContext *s);
 int rtsp_resume(AVFormatContext *s);
index c8e16d468676d8f101c012e9f4ff3184e368aefe..d85adf5ea9feb4a2142f6fc4bc386f7495e1a2dd 100644 (file)
@@ -297,7 +297,7 @@ static int film_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat film_iformat = {
+static AVInputFormat film_demuxer = {
     "film_cpk",
     "Sega FILM/CPK format",
     sizeof(FilmDemuxContext),
@@ -309,6 +309,6 @@ static AVInputFormat film_iformat = {
 
 int film_init(void)
 {
-    av_register_input_format(&film_iformat);
+    av_register_input_format(&film_demuxer);
     return 0;
 }
index fd75fc8d7689f9b6fd7e0b1e0fea163b13b94513..55a018856aa37f1b21da1fb1fa8e5cca3f00799d 100644 (file)
@@ -319,7 +319,7 @@ static int vmd_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat vmd_iformat = {
+static AVInputFormat vmd_demuxer = {
     "vmd",
     "Sierra VMD format",
     sizeof(VmdDemuxContext),
@@ -331,6 +331,6 @@ static AVInputFormat vmd_iformat = {
 
 int vmd_init(void)
 {
-    av_register_input_format(&vmd_iformat);
+    av_register_input_format(&vmd_demuxer);
     return 0;
 }
index 0c900dc6399585873a97cb5f7495fe24535719c7..0939c885f0f161d6a1016dda71446f3aa255c58f 100644 (file)
@@ -332,7 +332,7 @@ static int smacker_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat smacker_iformat = {
+static AVInputFormat smacker_demuxer = {
     "smk",
     "Smacker Video",
     sizeof(SmackerContext),
@@ -344,6 +344,6 @@ static AVInputFormat smacker_iformat = {
 
 int smacker_init(void)
 {
-    av_register_input_format(&smacker_iformat);
+    av_register_input_format(&smacker_demuxer);
     return 0;
 }
index 27ea5195c93902647d2751595ae477ed1025a071..f7cad006f2824eeff8554cf0a2119bfa0ea37e69 100644 (file)
@@ -146,7 +146,7 @@ static int sol_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat sol_iformat = {
+static AVInputFormat sol_demuxer = {
     "sol",
     "Sierra SOL Format",
     0,
@@ -159,6 +159,6 @@ static AVInputFormat sol_iformat = {
 
 int sol_init(void)
 {
-    av_register_input_format(&sol_iformat);
+    av_register_input_format(&sol_demuxer);
     return 0;
 }
index 4d9299f745ee3042205feb3a8753c0550d38ad04..14a1dc3907890746811125be09aea1b84eaeb44d 100644 (file)
@@ -899,7 +899,7 @@ static int swf_read_close(AVFormatContext *s)
      return 0;
 }
 
-static AVInputFormat swf_iformat = {
+static AVInputFormat swf_demuxer = {
     "swf",
     "Flash format",
     sizeof(SWFContext),
@@ -910,7 +910,7 @@ static AVInputFormat swf_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat swf_oformat = {
+static AVOutputFormat swf_muxer = {
     "swf",
     "Flash format",
     "application/x-shockwave-flash",
@@ -926,9 +926,9 @@ static AVOutputFormat swf_oformat = {
 
 int swf_init(void)
 {
-    av_register_input_format(&swf_iformat);
+    av_register_input_format(&swf_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&swf_oformat);
+    av_register_output_format(&swf_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index 203e47eb164883734ce1bd93025d975eb0e069d4..244df3d9699b3851e05194c71b045be795f1ba8f 100644 (file)
@@ -139,7 +139,7 @@ static int tta_read_close(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat tta_iformat = {
+AVInputFormat tta_demuxer = {
     "tta",
     "true-audio",
     sizeof(TTAContext),
@@ -152,6 +152,6 @@ AVInputFormat tta_iformat = {
 
 int tta_init(void)
 {
-    av_register_input_format(&tta_iformat);
+    av_register_input_format(&tta_demuxer);
     return 0;
 }
index f5598e57d7b51165d9e2d0562c17c48e7cff99b5..6d550a09e8964be082933802c613a950e97205ef 100644 (file)
@@ -599,7 +599,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
 
     /* XXX: suppress this hack for redirectors */
 #ifdef CONFIG_NETWORK
-    if (fmt == &redir_demux) {
+    if (fmt == &redir_demuxer) {
         err = redir_open(ic_ptr, pb);
         url_fclose(pb);
         return err;
@@ -1730,7 +1730,7 @@ static void av_estimate_timings(AVFormatContext *ic)
     }
     ic->file_size = file_size;
 
-    if ((ic->iformat == &mpegps_demux || ic->iformat == &mpegts_demux) && file_size && !ic->pb.is_streamed) {
+    if ((ic->iformat == &mpegps_demuxer || ic->iformat == &mpegts_demuxer) && file_size && !ic->pb.is_streamed) {
         /* get accurate estimate from the PTSes */
         av_estimate_timings_from_pts(ic);
     } else if (av_has_timings(ic)) {
index 3a2ad1fbacfddb8b43aa3b30303e3e25a7038624..f9059a18bc55a4aa9ed939a9ddeef9654112f8c6 100644 (file)
@@ -522,7 +522,7 @@ static int v4l2_read_close(AVFormatContext *s1)
     return 0;
 }
 
-static AVInputFormat v4l2_format = {
+static AVInputFormat v4l2_demuxer = {
     "video4linux2",
     "video grab",
     sizeof(struct video_data),
@@ -535,6 +535,6 @@ static AVInputFormat v4l2_format = {
 
 int v4l2_init(void)
 {
-    av_register_input_format(&v4l2_format);
+    av_register_input_format(&v4l2_demuxer);
     return 0;
 }
index 00eeac4e324a033cacad84497b55aadd361fa4a6..067c899a184bc4db4ac9f9d8f5035754de0ea558 100644 (file)
@@ -173,7 +173,7 @@ static int voc_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat voc_iformat = {
+static AVInputFormat voc_demuxer = {
     "voc",
     "Creative Voice File format",
     sizeof(voc_dec_context_t),
@@ -256,7 +256,7 @@ static int voc_write_trailer(AVFormatContext *s)
     return 0;
 }
 
-static AVOutputFormat voc_oformat = {
+static AVOutputFormat voc_muxer = {
     "voc",
     "Creative Voice File format",
     "audio/x-voc",
@@ -275,10 +275,10 @@ static AVOutputFormat voc_oformat = {
 int voc_init(void)
 {
 #ifdef CONFIG_DEMUXERS
-    av_register_input_format(&voc_iformat);
+    av_register_input_format(&voc_demuxer);
 #endif /* CONFIG_DEMUXERS */
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&voc_oformat);
+    av_register_output_format(&voc_muxer);
 #endif /* CONFIG_MUXERS */
     return 0;
 }
index 79a966c9cd19a3a94d230a33236d8ff69bf95f65..77642ba62bb6790c854b9f57b743b05265e56168 100644 (file)
@@ -405,7 +405,7 @@ static int wav_read_seek(AVFormatContext *s,
 }
 
 
-static AVInputFormat wav_iformat = {
+static AVInputFormat wav_demuxer = {
     "wav",
     "wav format",
     sizeof(WAVContext),
@@ -417,7 +417,7 @@ static AVInputFormat wav_iformat = {
 };
 
 #ifdef CONFIG_MUXERS
-static AVOutputFormat wav_oformat = {
+static AVOutputFormat wav_muxer = {
     "wav",
     "wav format",
     "audio/x-wav",
@@ -433,9 +433,9 @@ static AVOutputFormat wav_oformat = {
 
 int ff_wav_init(void)
 {
-    av_register_input_format(&wav_iformat);
+    av_register_input_format(&wav_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&wav_oformat);
+    av_register_output_format(&wav_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }
index d49f7509b5da70637267303902c67b321caf22ec..2eafd9f3d18286f0db06f47559c689ea46b6869d 100644 (file)
@@ -381,7 +381,7 @@ static int wc3_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat wc3_iformat = {
+static AVInputFormat wc3_demuxer = {
     "wc3movie",
     "Wing Commander III movie format",
     sizeof(Wc3DemuxContext),
@@ -393,6 +393,6 @@ static AVInputFormat wc3_iformat = {
 
 int wc3_init(void)
 {
-    av_register_input_format(&wc3_iformat);
+    av_register_input_format(&wc3_demuxer);
     return 0;
 }
index 1cd41f95b4e07eeb3e8fa0186558934b6f9efe9e..85977a89a3a453e9e45174d868d86e342258b2af 100644 (file)
@@ -357,7 +357,7 @@ static int wsvqa_read_close(AVFormatContext *s)
     return 0;
 }
 
-static AVInputFormat wsaud_iformat = {
+static AVInputFormat wsaud_demuxer = {
     "wsaud",
     "Westwood Studios audio format",
     sizeof(WsAudDemuxContext),
@@ -367,7 +367,7 @@ static AVInputFormat wsaud_iformat = {
     wsaud_read_close,
 };
 
-static AVInputFormat wsvqa_iformat = {
+static AVInputFormat wsvqa_demuxer = {
     "wsvqa",
     "Westwood Studios VQA format",
     sizeof(WsVqaDemuxContext),
@@ -379,7 +379,7 @@ static AVInputFormat wsvqa_iformat = {
 
 int westwood_init(void)
 {
-    av_register_input_format(&wsaud_iformat);
-    av_register_input_format(&wsvqa_iformat);
+    av_register_input_format(&wsaud_demuxer);
+    av_register_input_format(&wsvqa_demuxer);
     return 0;
 }
index 9993de43b422d4bbdb818466b2a0f318cf243707..be49ff484bb223e67a5aaffd5d3ff479e61ad345 100644 (file)
@@ -171,7 +171,7 @@ static int yuv4_write_trailer(AVFormatContext *s)
     return 0;
 }
 
-AVOutputFormat yuv4mpegpipe_oformat = {
+AVOutputFormat yuv4mpegpipe_muxer = {
     "yuv4mpegpipe",
     "YUV4MPEG pipe format",
     "",
@@ -393,7 +393,7 @@ static int yuv4_probe(AVProbeData *pd)
         return 0;
 }
 
-AVInputFormat yuv4mpegpipe_iformat = {
+AVInputFormat yuv4mpegpipe_demuxer = {
     "yuv4mpegpipe",
     "YUV4MPEG pipe format",
     sizeof(struct frame_attributes),
@@ -406,9 +406,9 @@ AVInputFormat yuv4mpegpipe_iformat = {
 
 int yuv4mpeg_init(void)
 {
-    av_register_input_format(&yuv4mpegpipe_iformat);
+    av_register_input_format(&yuv4mpegpipe_demuxer);
 #ifdef CONFIG_MUXERS
-    av_register_output_format(&yuv4mpegpipe_oformat);
+    av_register_output_format(&yuv4mpegpipe_muxer);
 #endif //CONFIG_MUXERS
     return 0;
 }