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.
(cherry picked from commit c6610a216e)
oldabi
Diego Elio Pettenò 14 years ago committed by Michael Niedermayer
parent ebf3ee16c7
commit 66355be3c3
  1. 8
      libavdevice/alldevices.c
  2. 2
      libavdevice/alsa-audio-dec.c
  3. 2
      libavdevice/alsa-audio-enc.c
  4. 2
      libavdevice/bktr.c
  5. 2
      libavdevice/dv1394.c
  6. 2
      libavdevice/jack_audio.c
  7. 4
      libavdevice/libdc1394.c
  8. 4
      libavdevice/oss_audio.c
  9. 2
      libavdevice/v4l.c
  10. 2
      libavdevice/v4l2.c
  11. 2
      libavdevice/vfwcap.c
  12. 2
      libavdevice/x11grab.c
  13. 2
      libavformat/4xm.c
  14. 2
      libavformat/a64.c
  15. 2
      libavformat/aacdec.c
  16. 4
      libavformat/ac3dec.c
  17. 2
      libavformat/adtsenc.c
  18. 2
      libavformat/aea.c
  19. 2
      libavformat/aiffdec.c
  20. 2
      libavformat/aiffenc.c
  21. 12
      libavformat/allformats.c
  22. 4
      libavformat/amr.c
  23. 2
      libavformat/anm.c
  24. 2
      libavformat/apc.c
  25. 2
      libavformat/ape.c
  26. 2
      libavformat/applehttp.c
  27. 2
      libavformat/asf.h
  28. 2
      libavformat/asfdec.c
  29. 4
      libavformat/asfenc.c
  30. 2
      libavformat/assdec.c
  31. 2
      libavformat/assenc.c
  32. 4
      libavformat/au.c
  33. 2
      libavformat/avidec.c
  34. 2
      libavformat/avienc.c
  35. 2
      libavformat/avisynth.c
  36. 2
      libavformat/avs.c
  37. 2
      libavformat/bethsoftvid.c
  38. 2
      libavformat/bfi.c
  39. 2
      libavformat/bink.c
  40. 2
      libavformat/c93.c
  41. 2
      libavformat/cafdec.c
  42. 2
      libavformat/cavsvideodec.c
  43. 2
      libavformat/cdg.c
  44. 2
      libavformat/concat.c
  45. 2
      libavformat/crcenc.c
  46. 4
      libavformat/daud.c
  47. 2
      libavformat/diracdec.c
  48. 2
      libavformat/dnxhddec.c
  49. 2
      libavformat/dsicin.c
  50. 2
      libavformat/dtsdec.c
  51. 2
      libavformat/dv.c
  52. 2
      libavformat/dvenc.c
  53. 2
      libavformat/dxa.c
  54. 2
      libavformat/eacdata.c
  55. 2
      libavformat/electronicarts.c
  56. 2
      libavformat/ffmdec.c
  57. 2
      libavformat/ffmenc.c
  58. 2
      libavformat/ffmetadec.c
  59. 2
      libavformat/ffmetaenc.c
  60. 4
      libavformat/file.c
  61. 2
      libavformat/filmstripdec.c
  62. 2
      libavformat/filmstripenc.c
  63. 2
      libavformat/flacdec.c
  64. 2
      libavformat/flacenc.c
  65. 2
      libavformat/flic.c
  66. 2
      libavformat/flvdec.c
  67. 2
      libavformat/flvenc.c
  68. 2
      libavformat/framecrcenc.c
  69. 2
      libavformat/gif.c
  70. 2
      libavformat/gopher.c
  71. 2
      libavformat/gxf.c
  72. 2
      libavformat/gxfenc.c
  73. 2
      libavformat/h261dec.c
  74. 2
      libavformat/h263dec.c
  75. 2
      libavformat/h264dec.c
  76. 2
      libavformat/http.c
  77. 2
      libavformat/idcin.c
  78. 2
      libavformat/idroqdec.c
  79. 2
      libavformat/idroqenc.c
  80. 2
      libavformat/iff.c
  81. 8
      libavformat/img2.c
  82. 2
      libavformat/ingenientdec.c
  83. 2
      libavformat/ipmovie.c
  84. 2
      libavformat/iss.c
  85. 2
      libavformat/iv8.c
  86. 2
      libavformat/ivfdec.c
  87. 2
      libavformat/ivfenc.c
  88. 4
      libavformat/libnut.c
  89. 10
      libavformat/librtmp.c
  90. 2
      libavformat/lmlm4.c
  91. 2
      libavformat/lxfdec.c
  92. 2
      libavformat/m4vdec.c
  93. 2
      libavformat/matroskadec.c
  94. 6
      libavformat/matroskaenc.c
  95. 4
      libavformat/md5enc.c
  96. 2
      libavformat/md5proto.c
  97. 2
      libavformat/mm.c
  98. 4
      libavformat/mmf.c
  99. 2
      libavformat/mmsh.c
  100. 2
      libavformat/mmst.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -23,11 +23,11 @@
#include "avdevice.h"
#define REGISTER_OUTDEV(X,x) { \
extern AVOutputFormat x##_muxer; \
if(CONFIG_##X##_OUTDEV) av_register_output_format(&x##_muxer); }
extern AVOutputFormat ff_##x##_muxer; \
if(CONFIG_##X##_OUTDEV) av_register_output_format(&ff_##x##_muxer); }
#define REGISTER_INDEV(X,x) { \
extern AVInputFormat x##_demuxer; \
if(CONFIG_##X##_INDEV) av_register_input_format(&x##_demuxer); }
extern AVInputFormat ff_##x##_demuxer; \
if(CONFIG_##X##_INDEV) av_register_input_format(&ff_##x##_demuxer); }
#define REGISTER_INOUTDEV(X,x) REGISTER_OUTDEV(X,x); REGISTER_INDEV(X,x)
void avdevice_register_all(void)

@ -163,7 +163,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
return 0;
}
AVInputFormat alsa_demuxer = {
AVInputFormat ff_alsa_demuxer = {
"alsa",
NULL_IF_CONFIG_SMALL("ALSA audio input"),
sizeof(AlsaData),

@ -93,7 +93,7 @@ static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt)
return 0;
}
AVOutputFormat alsa_muxer = {
AVOutputFormat ff_alsa_muxer = {
"alsa",
NULL_IF_CONFIG_SMALL("ALSA audio output"),
"",

@ -314,7 +314,7 @@ static int grab_read_close(AVFormatContext *s1)
return 0;
}
AVInputFormat bktr_demuxer = {
AVInputFormat ff_bktr_demuxer = {
"bktr",
NULL_IF_CONFIG_SMALL("video grab"),
sizeof(VideoData),

@ -227,7 +227,7 @@ static int dv1394_close(AVFormatContext * context)
return 0;
}
AVInputFormat dv1394_demuxer = {
AVInputFormat ff_dv1394_demuxer = {
.name = "dv1394",
.long_name = NULL_IF_CONFIG_SMALL("DV1394 A/V grab"),
.priv_data_size = sizeof(struct dv1394_data),

@ -314,7 +314,7 @@ static int audio_read_close(AVFormatContext *context)
return 0;
}
AVInputFormat jack_demuxer = {
AVInputFormat ff_jack_demuxer = {
"jack",
NULL_IF_CONFIG_SMALL("JACK Audio Connection Kit"),
sizeof(JackData),

@ -348,7 +348,7 @@ static int dc1394_v2_close(AVFormatContext * context)
return 0;
}
AVInputFormat libdc1394_demuxer = {
AVInputFormat ff_libdc1394_demuxer = {
.name = "libdc1394",
.long_name = NULL_IF_CONFIG_SMALL("dc1394 v.2 A/V grab"),
.priv_data_size = sizeof(struct dc1394_data),
@ -360,7 +360,7 @@ AVInputFormat libdc1394_demuxer = {
#endif
#if HAVE_LIBDC1394_1
AVInputFormat libdc1394_demuxer = {
AVInputFormat ff_libdc1394_demuxer = {
.name = "libdc1394",
.long_name = NULL_IF_CONFIG_SMALL("dc1394 v.1 A/V grab"),
.priv_data_size = sizeof(struct dc1394_data),

@ -293,7 +293,7 @@ static int audio_read_close(AVFormatContext *s1)
}
#if CONFIG_OSS_INDEV
AVInputFormat oss_demuxer = {
AVInputFormat ff_oss_demuxer = {
"oss",
NULL_IF_CONFIG_SMALL("Open Sound System capture"),
sizeof(AudioData),
@ -306,7 +306,7 @@ AVInputFormat oss_demuxer = {
#endif
#if CONFIG_OSS_OUTDEV
AVOutputFormat oss_muxer = {
AVOutputFormat ff_oss_muxer = {
"oss",
NULL_IF_CONFIG_SMALL("Open Sound System playback"),
"",

@ -339,7 +339,7 @@ static int grab_read_close(AVFormatContext *s1)
return 0;
}
AVInputFormat v4l_demuxer = {
AVInputFormat ff_v4l_demuxer = {
"video4linux",
NULL_IF_CONFIG_SMALL("Video4Linux device grab"),
sizeof(VideoData),

@ -680,7 +680,7 @@ static int v4l2_read_close(AVFormatContext *s1)
return 0;
}
AVInputFormat v4l2_demuxer = {
AVInputFormat ff_v4l2_demuxer = {
"video4linux2",
NULL_IF_CONFIG_SMALL("Video4Linux2 device grab"),
sizeof(struct video_data),

@ -452,7 +452,7 @@ static int vfw_read_packet(AVFormatContext *s, AVPacket *pkt)
return pkt->size;
}
AVInputFormat vfwcap_demuxer = {
AVInputFormat ff_vfwcap_demuxer = {
"vfwcap",
NULL_IF_CONFIG_SMALL("VFW video capture"),
sizeof(struct vfw_ctx),

@ -442,7 +442,7 @@ x11grab_read_close(AVFormatContext *s1)
}
/** x11 grabber device demuxer declaration */
AVInputFormat x11_grab_device_demuxer =
AVInputFormat ff_x11_grab_device_demuxer =
{
"x11grab",
NULL_IF_CONFIG_SMALL("X11grab"),

@ -343,7 +343,7 @@ static int fourxm_read_close(AVFormatContext *s)
return 0;
}
AVInputFormat fourxm_demuxer = {
AVInputFormat ff_fourxm_demuxer = {
"4xm",
NULL_IF_CONFIG_SMALL("4X Technologies format"),
sizeof(FourxmDemuxContext),

@ -164,7 +164,7 @@ static int a64_write_trailer(struct AVFormatContext *s)
return 0;
}
AVOutputFormat a64_muxer = {
AVOutputFormat ff_a64_muxer = {
.name = "a64",
.long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"),
.mime_type = NULL,

@ -81,7 +81,7 @@ static int adts_aac_read_header(AVFormatContext *s,
return 0;
}
AVInputFormat aac_demuxer = {
AVInputFormat ff_aac_demuxer = {
"aac",
NULL_IF_CONFIG_SMALL("raw ADTS AAC"),
0,

@ -70,7 +70,7 @@ static int ac3_probe(AVProbeData *p)
return ac3_eac3_probe(p, CODEC_ID_AC3);
}
AVInputFormat ac3_demuxer = {
AVInputFormat ff_ac3_demuxer = {
"ac3",
NULL_IF_CONFIG_SMALL("raw AC-3"),
0,
@ -89,7 +89,7 @@ static int eac3_probe(AVProbeData *p)
return ac3_eac3_probe(p, CODEC_ID_EAC3);
}
AVInputFormat eac3_demuxer = {
AVInputFormat ff_eac3_demuxer = {
"eac3",
NULL_IF_CONFIG_SMALL("raw E-AC-3"),
0,

@ -137,7 +137,7 @@ static int adts_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat adts_muxer = {
AVOutputFormat ff_adts_muxer = {
"adts",
NULL_IF_CONFIG_SMALL("ADTS AAC"),
"audio/aac",

@ -93,7 +93,7 @@ static int aea_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat aea_demuxer = {
AVInputFormat ff_aea_demuxer = {
"aea",
NULL_IF_CONFIG_SMALL("MD STUDIO audio"),
0,

@ -311,7 +311,7 @@ static int aiff_read_packet(AVFormatContext *s,
return 0;
}
AVInputFormat aiff_demuxer = {
AVInputFormat ff_aiff_demuxer = {
"aiff",
NULL_IF_CONFIG_SMALL("Audio IFF"),
sizeof(AIFFInputContext),

@ -145,7 +145,7 @@ static int aiff_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat aiff_muxer = {
AVOutputFormat ff_aiff_muxer = {
"aiff",
NULL_IF_CONFIG_SMALL("Audio IFF"),
"audio/aiff",

@ -23,18 +23,18 @@
#include "rdt.h"
#define REGISTER_MUXER(X,x) { \
extern AVOutputFormat x##_muxer; \
if(CONFIG_##X##_MUXER) av_register_output_format(&x##_muxer); }
extern AVOutputFormat ff_##x##_muxer; \
if(CONFIG_##X##_MUXER) av_register_output_format(&ff_##x##_muxer); }
#define REGISTER_DEMUXER(X,x) { \
extern AVInputFormat x##_demuxer; \
if(CONFIG_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
extern AVInputFormat ff_##x##_demuxer; \
if(CONFIG_##X##_DEMUXER) av_register_input_format(&ff_##x##_demuxer); }
#define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
#define REGISTER_PROTOCOL(X,x) { \
extern URLProtocol x##_protocol; \
if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&x##_protocol, sizeof(x##_protocol)); }
extern URLProtocol ff_##x##_protocol; \
if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); }
void av_register_all(void)
{

@ -169,7 +169,7 @@ static int amr_read_packet(AVFormatContext *s,
}
#if CONFIG_AMR_DEMUXER
AVInputFormat amr_demuxer = {
AVInputFormat ff_amr_demuxer = {
"amr",
NULL_IF_CONFIG_SMALL("3GPP AMR file format"),
0, /*priv_data_size*/
@ -181,7 +181,7 @@ AVInputFormat amr_demuxer = {
#endif
#if CONFIG_AMR_MUXER
AVOutputFormat amr_muxer = {
AVOutputFormat ff_amr_muxer = {
"amr",
NULL_IF_CONFIG_SMALL("3GPP AMR file format"),
"audio/amr",

@ -225,7 +225,7 @@ repeat:
return 0;
}
AVInputFormat anm_demuxer = {
AVInputFormat ff_anm_demuxer = {
"anm",
NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
sizeof(AnmDemuxContext),

@ -80,7 +80,7 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat apc_demuxer = {
AVInputFormat ff_apc_demuxer = {
"apc",
NULL_IF_CONFIG_SMALL("CRYO APC format"),
0,

@ -391,7 +391,7 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
return 0;
}
AVInputFormat ape_demuxer = {
AVInputFormat ff_ape_demuxer = {
"ape",
NULL_IF_CONFIG_SMALL("Monkey's Audio"),
sizeof(APEContext),

@ -579,7 +579,7 @@ static int applehttp_probe(AVProbeData *p)
return 0;
}
AVInputFormat applehttp_demuxer = {
AVInputFormat ff_applehttp_demuxer = {
"applehttp",
NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming format"),
sizeof(AppleHTTPContext),

@ -229,7 +229,7 @@ extern const AVMetadataConv ff_asf_metadata_conv[];
#define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
extern AVInputFormat asf_demuxer;
extern AVInputFormat ff_asf_demuxer;
int ff_guidcmp(const void *g1, const void *g2);
void ff_get_guid(ByteIOContext *s, ff_asf_guid *g);

@ -1203,7 +1203,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
return 0;
}
AVInputFormat asf_demuxer = {
AVInputFormat ff_asf_demuxer = {
"asf",
NULL_IF_CONFIG_SMALL("ASF format"),
sizeof(ASFContext),

@ -855,7 +855,7 @@ static int asf_write_trailer(AVFormatContext *s)
}
#if CONFIG_ASF_MUXER
AVOutputFormat asf_muxer = {
AVOutputFormat ff_asf_muxer = {
"asf",
NULL_IF_CONFIG_SMALL("ASF format"),
"video/x-ms-asf",
@ -876,7 +876,7 @@ AVOutputFormat asf_muxer = {
#endif
#if CONFIG_ASF_STREAM_MUXER
AVOutputFormat asf_stream_muxer = {
AVOutputFormat ff_asf_stream_muxer = {
"asf_stream",
NULL_IF_CONFIG_SMALL("ASF format"),
"video/x-ms-asf",

@ -202,7 +202,7 @@ static int read_seek2(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat ass_demuxer = {
AVInputFormat ff_ass_demuxer = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"),
.priv_data_size = sizeof(ASSContext),

@ -77,7 +77,7 @@ static int write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ass_muxer = {
AVOutputFormat ff_ass_muxer = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle format"),
.mime_type = "text/x-ssa",

@ -183,7 +183,7 @@ static int au_read_packet(AVFormatContext *s,
}
#if CONFIG_AU_DEMUXER
AVInputFormat au_demuxer = {
AVInputFormat ff_au_demuxer = {
"au",
NULL_IF_CONFIG_SMALL("SUN AU format"),
0,
@ -197,7 +197,7 @@ AVInputFormat au_demuxer = {
#endif
#if CONFIG_AU_MUXER
AVOutputFormat au_muxer = {
AVOutputFormat ff_au_muxer = {
"au",
NULL_IF_CONFIG_SMALL("SUN AU format"),
"audio/basic",

@ -1373,7 +1373,7 @@ static int avi_probe(AVProbeData *p)
return 0;
}
AVInputFormat avi_demuxer = {
AVInputFormat ff_avi_demuxer = {
"avi",
NULL_IF_CONFIG_SMALL("AVI format"),
sizeof(AVIContext),

@ -630,7 +630,7 @@ static int avi_write_trailer(AVFormatContext *s)
return res;
}
AVOutputFormat avi_muxer = {
AVOutputFormat ff_avi_muxer = {
"avi",
NULL_IF_CONFIG_SMALL("AVI format"),
"video/x-msvideo",

@ -207,7 +207,7 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t pts,
return 0;
}
AVInputFormat avisynth_demuxer = {
AVInputFormat ff_avisynth_demuxer = {
"avs",
NULL_IF_CONFIG_SMALL("AVISynth"),
sizeof(AVISynthContext),

@ -215,7 +215,7 @@ static int avs_read_close(AVFormatContext * s)
return 0;
}
AVInputFormat avs_demuxer = {
AVInputFormat ff_avs_demuxer = {
"avs",
NULL_IF_CONFIG_SMALL("AVS format"),
sizeof(AvsFormat),

@ -224,7 +224,7 @@ static int vid_read_packet(AVFormatContext *s,
return 0;
}
AVInputFormat bethsoftvid_demuxer = {
AVInputFormat ff_bethsoftvid_demuxer = {
"bethsoftvid",
NULL_IF_CONFIG_SMALL("Bethesda Softworks VID format"),
sizeof(BVID_DemuxContext),

@ -158,7 +158,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt)
return ret;
}
AVInputFormat bfi_demuxer = {
AVInputFormat ff_bfi_demuxer = {
"bfi",
NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
sizeof(BFIContext),

@ -257,7 +257,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
return 0;
}
AVInputFormat bink_demuxer = {
AVInputFormat ff_bink_demuxer = {
"bink",
NULL_IF_CONFIG_SMALL("Bink"),
sizeof(BinkDemuxContext),

@ -192,7 +192,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat c93_demuxer = {
AVInputFormat ff_c93_demuxer = {
"c93",
NULL_IF_CONFIG_SMALL("Interplay C93"),
sizeof(C93DemuxContext),

@ -381,7 +381,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
return 0;
}
AVInputFormat caf_demuxer = {
AVInputFormat ff_caf_demuxer = {
"caf",
NULL_IF_CONFIG_SMALL("Apple Core Audio Format"),
sizeof(CaffContext),

@ -65,7 +65,7 @@ static int cavsvideo_probe(AVProbeData *p)
return 0;
}
AVInputFormat cavsvideo_demuxer = {
AVInputFormat ff_cavsvideo_demuxer = {
"cavsvideo",
NULL_IF_CONFIG_SMALL("raw Chinese AVS video"),
0,

@ -55,7 +55,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat cdg_demuxer = {
AVInputFormat ff_cdg_demuxer = {
"cdg",
NULL_IF_CONFIG_SMALL("CD Graphics Format"),
0,

@ -188,7 +188,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
return result;
}
URLProtocol concat_protocol = {
URLProtocol ff_concat_protocol = {
"concat",
concat_open,
concat_read,

@ -54,7 +54,7 @@ static int crc_write_trailer(struct AVFormatContext *s)
return 0;
}
AVOutputFormat crc_muxer = {
AVOutputFormat ff_crc_muxer = {
"crc",
NULL_IF_CONFIG_SMALL("CRC testing format"),
NULL,

@ -65,7 +65,7 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
}
#if CONFIG_DAUD_DEMUXER
AVInputFormat daud_demuxer = {
AVInputFormat ff_daud_demuxer = {
"daud",
NULL_IF_CONFIG_SMALL("D-Cinema audio format"),
0,
@ -79,7 +79,7 @@ AVInputFormat daud_demuxer = {
#endif
#if CONFIG_DAUD_MUXER
AVOutputFormat daud_muxer =
AVOutputFormat ff_daud_muxer =
{
"daud",
NULL_IF_CONFIG_SMALL("D-Cinema audio format"),

@ -31,7 +31,7 @@ static int dirac_probe(AVProbeData *p)
return 0;
}
AVInputFormat dirac_demuxer = {
AVInputFormat ff_dirac_demuxer = {
"dirac",
NULL_IF_CONFIG_SMALL("raw Dirac"),
0,

@ -42,7 +42,7 @@ static int dnxhd_probe(AVProbeData *p)
return AVPROBE_SCORE_MAX;
}
AVInputFormat dnxhd_demuxer = {
AVInputFormat ff_dnxhd_demuxer = {
"dnxhd",
NULL_IF_CONFIG_SMALL("raw DNxHD (SMPTE VC-3)"),
0,

@ -216,7 +216,7 @@ static int cin_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat dsicin_demuxer = {
AVInputFormat ff_dsicin_demuxer = {
"dsicin",
NULL_IF_CONFIG_SMALL("Delphine Software International CIN format"),
sizeof(CinDemuxContext),

@ -65,7 +65,7 @@ static int dts_probe(AVProbeData *p)
return 0;
}
AVInputFormat dts_demuxer = {
AVInputFormat ff_dts_demuxer = {
"dts",
NULL_IF_CONFIG_SMALL("raw DTS"),
0,

@ -518,7 +518,7 @@ static int dv_probe(AVProbeData *p)
}
#if CONFIG_DV_DEMUXER
AVInputFormat dv_demuxer = {
AVInputFormat ff_dv_demuxer = {
"dv",
NULL_IF_CONFIG_SMALL("DV video format"),
sizeof(RawDVContext),

@ -399,7 +399,7 @@ static int dv_write_trailer(struct AVFormatContext *s)
return 0;
}
AVOutputFormat dv_muxer = {
AVOutputFormat ff_dv_muxer = {
"dv",
NULL_IF_CONFIG_SMALL("DV video format"),
NULL,

@ -209,7 +209,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EIO);
}
AVInputFormat dxa_demuxer = {
AVInputFormat ff_dxa_demuxer = {
"dxa",
NULL_IF_CONFIG_SMALL("DXA"),
sizeof(DXAContext),

@ -90,7 +90,7 @@ static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat ea_cdata_demuxer = {
AVInputFormat ff_ea_cdata_demuxer = {
"ea_cdata",
NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
sizeof(CdataDemuxContext),

@ -568,7 +568,7 @@ get_video_packet:
return ret;
}
AVInputFormat ea_demuxer = {
AVInputFormat ff_ea_demuxer = {
"ea",
NULL_IF_CONFIG_SMALL("Electronic Arts Multimedia Format"),
sizeof(EaDemuxContext),

@ -518,7 +518,7 @@ static int ffm_probe(AVProbeData *p)
return 0;
}
AVInputFormat ffm_demuxer = {
AVInputFormat ff_ffm_demuxer = {
"ffm",
NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),
sizeof(FFMContext),

@ -240,7 +240,7 @@ static int ffm_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat ffm_muxer = {
AVOutputFormat ff_ffm_muxer = {
"ffm",
NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),
"",

@ -163,7 +163,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR_EOF;
}
AVInputFormat ffmetadata_demuxer = {
AVInputFormat ff_ffmetadata_demuxer = {
.name = "ffmetadata",
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"),
.read_probe = probe,

@ -89,7 +89,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ffmetadata_muxer = {
AVOutputFormat ff_ffmetadata_muxer = {
.name = "ffmetadata",
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text format"),
.extensions = "ffmeta",

@ -94,7 +94,7 @@ static int file_close(URLContext *h)
return close(fd);
}
URLProtocol file_protocol = {
URLProtocol ff_file_protocol = {
"file",
file_open,
file_read,
@ -130,7 +130,7 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
return 0;
}
URLProtocol pipe_protocol = {
URLProtocol ff_pipe_protocol = {
"pipe",
pipe_open,
file_read,

@ -98,7 +98,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in
return 0;
}
AVInputFormat filmstrip_demuxer = {
AVInputFormat ff_filmstrip_demuxer = {
"filmstrip",
NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
sizeof(FilmstripDemuxContext),

@ -71,7 +71,7 @@ static int write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat filmstrip_muxer = {
AVOutputFormat ff_filmstrip_muxer = {
"filmstrip",
NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
NULL,

@ -123,7 +123,7 @@ static int flac_probe(AVProbeData *p)
else return AVPROBE_SCORE_MAX/2;
}
AVInputFormat flac_demuxer = {
AVInputFormat ff_flac_demuxer = {
"flac",
NULL_IF_CONFIG_SMALL("raw FLAC"),
0,

@ -118,7 +118,7 @@ static int flac_write_packet(struct AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat flac_muxer = {
AVOutputFormat ff_flac_muxer = {
"flac",
NULL_IF_CONFIG_SMALL("raw FLAC"),
"audio/x-flac",

@ -259,7 +259,7 @@ static int flic_read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat flic_demuxer = {
AVInputFormat ff_flic_demuxer = {
"flic",
NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation format"),
sizeof(FlicDemuxContext),

@ -491,7 +491,7 @@ static int flv_read_seek2(AVFormatContext *s, int stream_index,
}
#endif
AVInputFormat flv_demuxer = {
AVInputFormat ff_flv_demuxer = {
"flv",
NULL_IF_CONFIG_SMALL("FLV format"),
sizeof(FLVContext),

@ -437,7 +437,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat flv_muxer = {
AVOutputFormat ff_flv_muxer = {
"flv",
NULL_IF_CONFIG_SMALL("FLV format"),
"video/x-flv",

@ -33,7 +33,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat framecrc_muxer = {
AVOutputFormat ff_framecrc_muxer = {
"framecrc",
NULL_IF_CONFIG_SMALL("framecrc testing format"),
NULL,

@ -344,7 +344,7 @@ static int gif_write_trailer(AVFormatContext *s)
return 0;
}
AVOutputFormat gif_muxer = {
AVOutputFormat ff_gif_muxer = {
"gif",
NULL_IF_CONFIG_SMALL("GIF Animation"),
"image/gif",

@ -119,7 +119,7 @@ static int gopher_read(URLContext *h, uint8_t *buf, int size)
}
URLProtocol gopher_protocol = {
URLProtocol ff_gopher_protocol = {
"gopher",
gopher_open,
gopher_read,

@ -515,7 +515,7 @@ static int64_t gxf_read_timestamp(AVFormatContext *s, int stream_index,
return res;
}
AVInputFormat gxf_demuxer = {
AVInputFormat ff_gxf_demuxer = {
"gxf",
NULL_IF_CONFIG_SMALL("GXF format"),
0,

@ -927,7 +927,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk
av_interleave_packet_per_dts, gxf_compare_field_nb);
}
AVOutputFormat gxf_muxer = {
AVOutputFormat ff_gxf_muxer = {
"gxf",
NULL_IF_CONFIG_SMALL("GXF format"),
NULL,

@ -62,7 +62,7 @@ static int h261_probe(AVProbeData *p)
return 0;
}
AVInputFormat h261_demuxer = {
AVInputFormat ff_h261_demuxer = {
"h261",
NULL_IF_CONFIG_SMALL("raw H.261"),
0,

@ -64,7 +64,7 @@ static int h263_probe(AVProbeData *p)
return 0;
}
AVInputFormat h263_demuxer = {
AVInputFormat ff_h263_demuxer = {
"h263",
NULL_IF_CONFIG_SMALL("raw H.263"),
0,

@ -67,7 +67,7 @@ static int h264_probe(AVProbeData *p)
return 0;
}
AVInputFormat h264_demuxer = {
AVInputFormat ff_h264_demuxer = {
"h264",
NULL_IF_CONFIG_SMALL("raw H.264 video format"),
0,

@ -503,7 +503,7 @@ http_get_file_handle(URLContext *h)
return url_get_file_handle(s->hd);
}
URLProtocol http_protocol = {
URLProtocol ff_http_protocol = {
"http",
http_open,
http_read,

@ -286,7 +286,7 @@ static int idcin_read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat idcin_demuxer = {
AVInputFormat ff_idcin_demuxer = {
"idcin",
NULL_IF_CONFIG_SMALL("id Cinematic format"),
sizeof(IdcinDemuxContext),

@ -216,7 +216,7 @@ static int roq_read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat roq_demuxer = {
AVInputFormat ff_roq_demuxer = {
"RoQ",
NULL_IF_CONFIG_SMALL("id RoQ format"),
sizeof(RoqDemuxContext),

@ -35,7 +35,7 @@ static int roq_write_header(struct AVFormatContext *s)
return 0;
}
AVOutputFormat roq_muxer =
AVOutputFormat ff_roq_muxer =
{
"RoQ",
NULL_IF_CONFIG_SMALL("raw id RoQ format"),

@ -314,7 +314,7 @@ static int iff_read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat iff_demuxer = {
AVInputFormat ff_iff_demuxer = {
"IFF",
NULL_IF_CONFIG_SMALL("IFF format"),
sizeof(IffDemuxContext),

@ -412,7 +412,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
/* input */
#if CONFIG_IMAGE2_DEMUXER
AVInputFormat image2_demuxer = {
AVInputFormat ff_image2_demuxer = {
.name = "image2",
.long_name = NULL_IF_CONFIG_SMALL("image2 sequence"),
.priv_data_size = sizeof(VideoData),
@ -423,7 +423,7 @@ AVInputFormat image2_demuxer = {
};
#endif
#if CONFIG_IMAGE2PIPE_DEMUXER
AVInputFormat image2pipe_demuxer = {
AVInputFormat ff_image2pipe_demuxer = {
.name = "image2pipe",
.long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"),
.priv_data_size = sizeof(VideoData),
@ -434,7 +434,7 @@ AVInputFormat image2pipe_demuxer = {
/* output */
#if CONFIG_IMAGE2_MUXER
AVOutputFormat image2_muxer = {
AVOutputFormat ff_image2_muxer = {
.name = "image2",
.long_name = NULL_IF_CONFIG_SMALL("image2 sequence"),
.extensions = "bmp,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png,"
@ -447,7 +447,7 @@ AVOutputFormat image2_muxer = {
};
#endif
#if CONFIG_IMAGE2PIPE_MUXER
AVOutputFormat image2pipe_muxer = {
AVOutputFormat ff_image2pipe_muxer = {
.name = "image2pipe",
.long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"),
.priv_data_size = sizeof(VideoData),

@ -58,7 +58,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ingenient_demuxer = {
AVInputFormat ff_ingenient_demuxer = {
"ingenient",
NULL_IF_CONFIG_SMALL("raw Ingenient MJPEG"),
0,

@ -620,7 +620,7 @@ static int ipmovie_read_packet(AVFormatContext *s,
return ret;
}
AVInputFormat ipmovie_demuxer = {
AVInputFormat ff_ipmovie_demuxer = {
"ipmovie",
NULL_IF_CONFIG_SMALL("Interplay MVE format"),
sizeof(IPMVEContext),

@ -122,7 +122,7 @@ static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVInputFormat iss_demuxer = {
AVInputFormat ff_iss_demuxer = {
"ISS",
NULL_IF_CONFIG_SMALL("Funcom ISS format"),
sizeof(IssDemuxContext),

@ -84,7 +84,7 @@ retry:
return ret;
}
AVInputFormat iv8_demuxer = {
AVInputFormat ff_iv8_demuxer = {
"iv8",
NULL_IF_CONFIG_SMALL("A format generated by IndigoVision 8000 video server"),
0,

@ -79,7 +79,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat ivf_demuxer = {
AVInputFormat ff_ivf_demuxer = {
"ivf",
NULL_IF_CONFIG_SMALL("On2 IVF"),
0,

@ -58,7 +58,7 @@ static int ivf_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat ivf_muxer = {
AVOutputFormat ff_ivf_muxer = {
.name = "ivf",
.long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
.extensions = "ivf",

@ -150,7 +150,7 @@ static int nut_write_trailer(AVFormatContext * avf) {
return 0;
}
AVOutputFormat libnut_muxer = {
AVOutputFormat ff_libnut_muxer = {
"libnut",
"nut format",
"video/x-nut",
@ -297,7 +297,7 @@ static int nut_read_close(AVFormatContext *s) {
return 0;
}
AVInputFormat libnut_demuxer = {
AVInputFormat ff_libnut_demuxer = {
"libnut",
NULL_IF_CONFIG_SMALL("NUT format"),
sizeof(NUTContext),

@ -157,7 +157,7 @@ static int rtmp_get_file_handle(URLContext *s)
return RTMP_Socket(r);
}
URLProtocol rtmp_protocol = {
URLProtocol ff_rtmp_protocol = {
"rtmp",
rtmp_open,
rtmp_read,
@ -170,7 +170,7 @@ URLProtocol rtmp_protocol = {
rtmp_get_file_handle
};
URLProtocol rtmpt_protocol = {
URLProtocol ff_rtmpt_protocol = {
"rtmpt",
rtmp_open,
rtmp_read,
@ -183,7 +183,7 @@ URLProtocol rtmpt_protocol = {
rtmp_get_file_handle
};
URLProtocol rtmpe_protocol = {
URLProtocol ff_rtmpe_protocol = {
"rtmpe",
rtmp_open,
rtmp_read,
@ -196,7 +196,7 @@ URLProtocol rtmpe_protocol = {
rtmp_get_file_handle
};
URLProtocol rtmpte_protocol = {
URLProtocol ff_rtmpte_protocol = {
"rtmpte",
rtmp_open,
rtmp_read,
@ -209,7 +209,7 @@ URLProtocol rtmpte_protocol = {
rtmp_get_file_handle
};
URLProtocol rtmps_protocol = {
URLProtocol ff_rtmps_protocol = {
"rtmps",
rtmp_open,
rtmp_read,

@ -117,7 +117,7 @@ static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt) {
return ret;
}
AVInputFormat lmlm4_demuxer = {
AVInputFormat ff_lmlm4_demuxer = {
"lmlm4",
NULL_IF_CONFIG_SMALL("lmlm4 raw format"),
0,

@ -336,7 +336,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
return ret;
}
AVInputFormat lxf_demuxer = {
AVInputFormat ff_lxf_demuxer = {
.name = "lxf",
.long_name = NULL_IF_CONFIG_SMALL("VR native stream format (LXF)"),
.priv_data_size = sizeof(LXFDemuxContext),

@ -49,7 +49,7 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
return 0;
}
AVInputFormat m4v_demuxer = {
AVInputFormat ff_m4v_demuxer = {
"m4v",
NULL_IF_CONFIG_SMALL("raw MPEG-4 video format"),
0,

@ -1920,7 +1920,7 @@ static int matroska_read_close(AVFormatContext *s)
return 0;
}
AVInputFormat matroska_demuxer = {
AVInputFormat ff_matroska_demuxer = {
"matroska,webm",
NULL_IF_CONFIG_SMALL("Matroska/WebM file format"),
sizeof(MatroskaDemuxContext),

@ -1177,7 +1177,7 @@ static int mkv_write_trailer(AVFormatContext *s)
}
#if CONFIG_MATROSKA_MUXER
AVOutputFormat matroska_muxer = {
AVOutputFormat ff_matroska_muxer = {
"matroska",
NULL_IF_CONFIG_SMALL("Matroska file format"),
"video/x-matroska",
@ -1195,7 +1195,7 @@ AVOutputFormat matroska_muxer = {
#endif
#if CONFIG_WEBM_MUXER
AVOutputFormat webm_muxer = {
AVOutputFormat ff_webm_muxer = {
"webm",
NULL_IF_CONFIG_SMALL("WebM file format"),
"video/webm",
@ -1211,7 +1211,7 @@ AVOutputFormat webm_muxer = {
#endif
#if CONFIG_MATROSKA_AUDIO_MUXER
AVOutputFormat matroska_audio_muxer = {
AVOutputFormat ff_matroska_audio_muxer = {
"matroska",
NULL_IF_CONFIG_SMALL("Matroska file format"),
"audio/x-matroska",

@ -65,7 +65,7 @@ static int write_trailer(struct AVFormatContext *s)
return 0;
}
AVOutputFormat md5_muxer = {
AVOutputFormat ff_md5_muxer = {
"md5",
NULL_IF_CONFIG_SMALL("MD5 testing format"),
NULL,
@ -95,7 +95,7 @@ static int framemd5_write_packet(struct AVFormatContext *s, AVPacket *pkt)
return 0;
}
AVOutputFormat framemd5_muxer = {
AVOutputFormat ff_framemd5_muxer = {
"framemd5",
NULL_IF_CONFIG_SMALL("Per-frame MD5 testing format"),
NULL,

@ -82,7 +82,7 @@ static int md5_get_handle(URLContext *h)
return (intptr_t)h->priv_data;
}
URLProtocol md5_protocol = {
URLProtocol ff_md5_protocol = {
.name = "md5",
.url_open = md5_open,
.url_write = md5_write,

@ -188,7 +188,7 @@ static int read_packet(AVFormatContext *s,
return 0;
}
AVInputFormat mm_demuxer = {
AVInputFormat ff_mm_demuxer = {
"mm",
NULL_IF_CONFIG_SMALL("American Laser Games MM format"),
sizeof(MmDemuxContext),

@ -291,7 +291,7 @@ static int mmf_read_packet(AVFormatContext *s,
}
#if CONFIG_MMF_DEMUXER
AVInputFormat mmf_demuxer = {
AVInputFormat ff_mmf_demuxer = {
"mmf",
NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
sizeof(MMFContext),
@ -303,7 +303,7 @@ AVInputFormat mmf_demuxer = {
};
#endif
#if CONFIG_MMF_MUXER
AVOutputFormat mmf_muxer = {
AVOutputFormat ff_mmf_muxer = {
"mmf",
NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
"application/vnd.smaf",

@ -359,7 +359,7 @@ static int mmsh_read(URLContext *h, uint8_t *buf, int size)
return res;
}
URLProtocol mmsh_protocol = {
URLProtocol ff_mmsh_protocol = {
.name = "mmsh",
.url_open = mmsh_open,
.url_read = mmsh_read,

@ -621,7 +621,7 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
return result;
}
URLProtocol mmst_protocol = {
URLProtocol ff_mmst_protocol = {
"mmst",
mms_open,
mms_read,

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save