History

avformat: Constify all muxer/demuxers

This is possible now that the next-API is gone.

Andreas Rheinhardt committed 5 years ago

Commit bc706841 parent d92f38c327 files · +927 −927Browse files

Unified · Split

327 files
  1. libavformat/3dostr.c +1 −1
  2. libavformat/4xm.c +1 −1
  3. libavformat/a64.c +1 −1
  4. libavformat/aacdec.c +1 −1
  5. libavformat/aadec.c +1 −1
  6. libavformat/aaxdec.c +1 −1
  7. libavformat/ac3dec.c +2 −2
  8. libavformat/acedec.c +1 −1
  9. libavformat/acm.c +1 −1
  10. libavformat/act.c +1 −1
  11. libavformat/adp.c +1 −1
  12. libavformat/ads.c +1 −1
  13. libavformat/adtsenc.c +1 −1
  14. libavformat/adxdec.c +1 −1
  15. libavformat/aea.c +1 −1
  16. libavformat/afc.c +1 −1
  17. libavformat/aiffdec.c +1 −1
  18. libavformat/aiffenc.c +1 −1
  19. libavformat/aixdec.c +1 −1
  20. libavformat/allformats.c +500 −500
  21. libavformat/alp.c +2 −2
  22. libavformat/amr.c +4 −4
  23. libavformat/amvenc.c +1 −1
  24. libavformat/anm.c +1 −1
  25. libavformat/apc.c +1 −1
  26. libavformat/ape.c +1 −1
  27. libavformat/apm.c +2 −2
  28. libavformat/apngdec.c +1 −1
  29. libavformat/apngenc.c +1 −1
  30. libavformat/aptxdec.c +2 −2
  31. libavformat/aqtitledec.c +1 −1
  32. libavformat/argo_asf.c +2 −2
  33. libavformat/argo_brp.c +1 −1
  34. libavformat/asfdec_f.c +1 −1
  35. libavformat/asfdec_o.c +1 −1
  36. libavformat/asfenc.c +2 −2
  37. libavformat/assdec.c +1 −1
  38. libavformat/assenc.c +1 −1
  39. libavformat/astdec.c +1 −1
  40. libavformat/astenc.c +1 −1
  41. libavformat/au.c +2 −2
  42. libavformat/av1dec.c +2 −2
  43. libavformat/avidec.c +1 −1
  44. libavformat/avienc.c +1 −1
  45. libavformat/avisynth.c +1 −1
  46. libavformat/avr.c +1 −1
  47. libavformat/avs.c +1 −1
  48. libavformat/bethsoftvid.c +1 −1
  49. libavformat/bfi.c +1 −1
  50. libavformat/bink.c +1 −1
  51. libavformat/binka.c +1 −1
  52. libavformat/bintext.c +4 −4
  53. libavformat/bit.c +2 −2
  54. libavformat/bmv.c +1 −1
  55. libavformat/boadec.c +1 −1
  56. libavformat/brstm.c +2 −2
  57. libavformat/c93.c +1 −1
  58. libavformat/cafdec.c +1 −1
  59. libavformat/cafenc.c +1 −1
  60. libavformat/cdg.c +1 −1
  61. libavformat/cdxl.c +1 −1
  62. libavformat/chromaprint.c +1 −1
  63. libavformat/cinedec.c +1 −1
  64. libavformat/codec2.c +3 −3
  65. libavformat/concatdec.c +1 −1
  66. libavformat/crcenc.c +1 −1
  67. libavformat/dashdec.c +1 −1
  68. libavformat/dashenc.c +1 −1
  69. libavformat/dauddec.c +1 −1
  70. libavformat/daudenc.c +1 −1
  71. libavformat/dcstr.c +1 −1
  72. libavformat/derf.c +1 −1
  73. libavformat/dfa.c +1 −1
  74. libavformat/dhav.c +1 −1
  75. libavformat/dsfdec.c +1 −1
  76. libavformat/dsicin.c +1 −1
  77. libavformat/dss.c +1 −1
  78. libavformat/dtsdec.c +1 −1
  79. libavformat/dtshddec.c +1 −1
  80. libavformat/dv.c +1 −1
  81. libavformat/dvenc.c +1 −1
  82. libavformat/dxa.c +1 −1
  83. libavformat/eacdata.c +1 −1
  84. libavformat/electronicarts.c +1 −1
  85. libavformat/epafdec.c +1 −1
  86. libavformat/ffmetadec.c +1 −1
  87. libavformat/ffmetaenc.c +1 −1
  88. libavformat/fifo.c +1 −1
  89. libavformat/fifo_test.c +1 −1
  90. libavformat/filmstripdec.c +1 −1
  91. libavformat/filmstripenc.c +1 −1
  92. libavformat/fitsdec.c +1 −1
  93. libavformat/fitsenc.c +1 −1
  94. libavformat/flacdec.c +1 −1
  95. libavformat/flacenc.c +1 −1
  96. libavformat/flic.c +1 −1
  97. libavformat/flvdec.c +3 −3
  98. libavformat/flvenc.c +1 −1
  99. libavformat/framecrcenc.c +1 −1
  100. libavformat/frmdec.c +1 −1
  101. libavformat/fsb.c +1 −1
  102. libavformat/fwse.c +1 −1
  103. libavformat/g722.c +1 −1
  104. libavformat/g723_1.c +1 −1
  105. libavformat/g726.c +2 −2
  106. libavformat/g729dec.c +1 −1
  107. libavformat/gdv.c +1 −1
  108. libavformat/genh.c +1 −1
  109. libavformat/gif.c +1 −1
  110. libavformat/gifdec.c +1 −1
  111. libavformat/gsmdec.c +1 −1
  112. libavformat/gxf.c +1 −1
  113. libavformat/gxfenc.c +1 −1
  114. libavformat/hashenc.c +5 −5
  115. libavformat/hca.c +1 −1
  116. libavformat/hcom.c +1 −1
  117. libavformat/hdsenc.c +1 −1
  118. libavformat/hls.c +1 −1
  119. libavformat/hlsenc.c +1 −1
  120. libavformat/hnm.c +1 −1
  121. libavformat/icodec.c +1 −1
  122. libavformat/icoenc.c +1 −1
  123. libavformat/idcin.c +1 −1
  124. libavformat/idroqdec.c +1 −1
  125. libavformat/idroqenc.c +1 −1
  126. libavformat/iff.c +1 −1
  127. libavformat/ifv.c +1 −1
  128. libavformat/ilbc.c +2 −2
  129. libavformat/img2_alias_pix.c +1 −1
  130. libavformat/img2_brender_pix.c +1 −1
  131. libavformat/img2dec.c +3 −3
  132. libavformat/img2enc.c +2 −2
  133. libavformat/imx.c +1 −1
  134. libavformat/ingenientdec.c +1 −1
  135. libavformat/ipmovie.c +1 −1
  136. libavformat/ipudec.c +1 −1
  137. libavformat/ircamdec.c +1 −1
  138. libavformat/ircamenc.c +1 −1
  139. libavformat/iss.c +1 −1
  140. libavformat/iv8.c +1 −1
  141. libavformat/ivfdec.c +1 −1
  142. libavformat/ivfenc.c +1 −1
  143. libavformat/jacosubdec.c +1 −1
  144. libavformat/jacosubenc.c +1 −1
  145. libavformat/jvdec.c +1 −1
  146. libavformat/kvag.c +2 −2
  147. libavformat/latmenc.c +1 −1
  148. libavformat/libgme.c +1 −1
  149. libavformat/libmodplug.c +1 −1
  150. libavformat/libopenmpt.c +1 −1
  151. libavformat/lmlm4.c +1 −1
  152. libavformat/loasdec.c +1 −1
  153. libavformat/lrcdec.c +1 −1
  154. libavformat/lrcenc.c +1 −1
  155. libavformat/luodatdec.c +1 −1
  156. libavformat/lvfdec.c +1 −1
  157. libavformat/lxfdec.c +1 −1
  158. libavformat/matroskadec.c +2 −2
  159. libavformat/matroskaenc.c +3 −3
  160. libavformat/mca.c +1 −1
  161. libavformat/mccdec.c +1 −1
  162. libavformat/mgsts.c +1 −1
  163. libavformat/microdvddec.c +1 −1
  164. libavformat/microdvdenc.c +1 −1
  165. libavformat/mkvtimestamp_v2.c +1 −1
  166. libavformat/mlpdec.c +2 −2
  167. libavformat/mlvdec.c +1 −1
  168. libavformat/mm.c +1 −1
  169. libavformat/mmf.c +2 −2
  170. libavformat/mods.c +1 −1
  171. libavformat/moflex.c +1 −1
  172. libavformat/mov.c +1 −1
  173. libavformat/movenc.c +8 −8
  174. libavformat/mp3dec.c +1 −1
  175. libavformat/mp3enc.c +1 −1
  176. libavformat/mpc.c +1 −1
  177. libavformat/mpc8.c +1 −1
  178. libavformat/mpeg.c +2 −2
  179. libavformat/mpegenc.c +9 −9
  180. libavformat/mpegts.c +3 −3
  181. libavformat/mpegtsenc.c +1 −1
  182. libavformat/mpjpeg.c +1 −1
  183. libavformat/mpjpegdec.c +1 −1
  184. libavformat/mpl2dec.c +1 −1
  185. libavformat/mpsubdec.c +1 −1
  186. libavformat/msf.c +1 −1
  187. libavformat/msnwc_tcp.c +1 −1
  188. libavformat/mspdec.c +1 −1
  189. libavformat/mtaf.c +1 −1
  190. libavformat/mtv.c +1 −1
  191. libavformat/musx.c +1 −1
  192. libavformat/mvdec.c +1 −1
  193. libavformat/mvi.c +1 −1
  194. libavformat/mxfdec.c +1 −1
  195. libavformat/mxfenc.c +5 −5
  196. libavformat/mxg.c +1 −1
  197. libavformat/ncdec.c +1 −1
  198. libavformat/nistspheredec.c +1 −1
  199. libavformat/nspdec.c +1 −1
  200. libavformat/nsvdec.c +1 −1
  201. libavformat/nullenc.c +1 −1
  202. libavformat/nutdec.c +1 −1
  203. libavformat/nutenc.c +1 −1
  204. libavformat/nuv.c +1 −1
  205. libavformat/oggdec.c +1 −1
  206. libavformat/oggenc.c +5 −5
  207. libavformat/omadec.c +1 −1
  208. libavformat/omaenc.c +1 −1
  209. libavformat/paf.c +1 −1
  210. libavformat/pcmdec.c +2 −2
  211. libavformat/pcmenc.c +1 −1
  212. libavformat/pjsdec.c +1 −1
  213. libavformat/pmpdec.c +1 −1
  214. libavformat/pp_bnk.c +1 −1
  215. libavformat/psxstr.c +1 −1
  216. libavformat/pva.c +1 −1
  217. libavformat/pvfdec.c +1 −1
  218. libavformat/qcp.c +1 −1
  219. libavformat/r3d.c +1 −1
  220. libavformat/rawdec.c +1 −1
  221. libavformat/rawdec.h +2 −2
  222. libavformat/rawenc.c +31 −31
  223. libavformat/rawvideodec.c +1 −1
  224. libavformat/realtextdec.c +1 −1
  225. libavformat/redspark.c +1 −1
  226. libavformat/rl2.c +1 −1
  227. libavformat/rm.h +1 −1
  228. libavformat/rmdec.c +3 −3
  229. libavformat/rmenc.c +1 −1
  230. libavformat/rpl.c +1 −1
  231. libavformat/rsd.c +1 −1
  232. libavformat/rsodec.c +1 −1
  233. libavformat/rsoenc.c +1 −1
  234. libavformat/rtpenc.c +1 −1
  235. libavformat/rtpenc_mpegts.c +1 −1
  236. libavformat/rtsp.c +2 −2
  237. libavformat/rtspdec.c +1 −1
  238. libavformat/rtspenc.c +1 −1
  239. libavformat/s337m.c +1 −1
  240. libavformat/samidec.c +1 −1
  241. libavformat/sapdec.c +1 −1
  242. libavformat/sapenc.c +1 −1
  243. libavformat/sbcdec.c +1 −1
  244. libavformat/sbgdec.c +1 −1
  245. libavformat/sccdec.c +1 −1
  246. libavformat/sccenc.c +1 −1
  247. libavformat/sdr2.c +1 −1
  248. libavformat/sdsdec.c +1 −1
  249. libavformat/sdxdec.c +1 −1
  250. libavformat/segafilm.c +1 −1
  251. libavformat/segafilmenc.c +1 −1
  252. libavformat/segment.c +2 −2
  253. libavformat/serdec.c +1 −1
  254. libavformat/sga.c +1 −1
  255. libavformat/shortendec.c +1 −1
  256. libavformat/sierravmd.c +1 −1
  257. libavformat/siff.c +1 −1
  258. libavformat/smacker.c +1 −1
  259. libavformat/smjpegdec.c +1 −1
  260. libavformat/smjpegenc.c +1 −1
  261. libavformat/smoothstreamingenc.c +1 −1
  262. libavformat/smush.c +1 −1
  263. libavformat/sol.c +1 −1
  264. libavformat/soxdec.c +1 −1
  265. libavformat/soxenc.c +1 −1
  266. libavformat/spdifdec.c +1 −1
  267. libavformat/spdifenc.c +1 −1
  268. libavformat/srtdec.c +1 −1
  269. libavformat/srtenc.c +1 −1
  270. libavformat/stldec.c +1 −1
  271. libavformat/subviewer1dec.c +1 −1
  272. libavformat/subviewerdec.c +1 −1
  273. libavformat/supdec.c +1 −1
  274. libavformat/supenc.c +1 −1
  275. libavformat/svag.c +1 −1
  276. libavformat/svs.c +1 −1
  277. libavformat/swfdec.c +1 −1
  278. libavformat/swfenc.c +2 −2
  279. libavformat/takdec.c +1 −1
  280. libavformat/tedcaptionsdec.c +1 −1
  281. libavformat/tee.c +1 −1
  282. libavformat/thp.c +1 −1
  283. libavformat/tiertexseq.c +1 −1
  284. libavformat/tmv.c +1 −1
  285. libavformat/tta.c +1 −1
  286. libavformat/ttaenc.c +1 −1
  287. libavformat/ttmlenc.c +1 −1
  288. libavformat/tty.c +1 −1
  289. libavformat/txd.c +1 −1
  290. libavformat/ty.c +1 −1
  291. libavformat/uncodedframecrcenc.c +1 −1
  292. libavformat/v210.c +2 −2
  293. libavformat/vag.c +1 −1
  294. libavformat/vapoursynth.c +1 −1
  295. libavformat/vc1test.c +1 −1
  296. libavformat/vc1testenc.c +1 −1
  297. libavformat/vividas.c +1 −1
  298. libavformat/vivo.c +1 −1
  299. libavformat/vocdec.c +1 −1
  300. libavformat/vocenc.c +1 −1
  301. libavformat/vpk.c +1 −1
  302. libavformat/vplayerdec.c +1 −1
  303. libavformat/vqf.c +1 −1
  304. libavformat/wavdec.c +2 −2
  305. libavformat/wavenc.c +2 −2
  306. libavformat/wc3movie.c +1 −1
  307. libavformat/webm_chunk.c +1 −1
  308. libavformat/webmdashenc.c +1 −1
  309. libavformat/webpenc.c +1 −1
  310. libavformat/webvttdec.c +1 −1
  311. libavformat/webvttenc.c +1 −1
  312. libavformat/westwood_aud.c +1 −1
  313. libavformat/westwood_audenc.c +1 −1
  314. libavformat/westwood_vqa.c +1 −1
  315. libavformat/wsddec.c +1 −1
  316. libavformat/wtvdec.c +1 −1
  317. libavformat/wtvenc.c +1 −1
  318. libavformat/wvdec.c +1 −1
  319. libavformat/wvedec.c +1 −1
  320. libavformat/wvenc.c +1 −1
  321. libavformat/xa.c +1 −1
  322. libavformat/xmv.c +1 −1
  323. libavformat/xvag.c +1 −1
  324. libavformat/xwma.c +1 −1
  325. libavformat/yop.c +1 −1
  326. libavformat/yuv4mpegdec.c +1 −1
  327. libavformat/yuv4mpegenc.c +1 −1
libavformat/3dostr.c+1−1
@@ -191,7 +191,7 @@ static int threedostr_read_packet(AVFormatContext *s, AVPacket *pkt) · 190 unmodified lines
191191 return AVERROR_EOF;
192192 }
193193
194−AVInputFormat ff_threedostr_demuxer = {
194+const AVInputFormat ff_threedostr_demuxer = {
195195 .name = "3dostr",
196196 .long_name = NULL_IF_CONFIG_SMALL("3DO STR"),
197197 .read_probe = threedostr_probe,
libavformat/4xm.c+1−1
@@ -393,7 +393,7 @@ static int fourxm_read_close(AVFormatContext *s) · 392 unmodified lines
393393 return 0;
394394 }
395395
396−AVInputFormat ff_fourxm_demuxer = {
396+const AVInputFormat ff_fourxm_demuxer = {
397397 .name = "4xm",
398398 .long_name = NULL_IF_CONFIG_SMALL("4X Technologies"),
399399 .priv_data_size = sizeof(FourxmDemuxContext),
libavformat/a64.c+1−1
@@ -58,7 +58,7 @@ static int a64_write_header(AVFormatContext *s) · 57 unmodified lines
5858 return 0;
5959 }
6060
61−AVOutputFormat ff_a64_muxer = {
61+const AVOutputFormat ff_a64_muxer = {
6262 .name = "a64",
6363 .long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"),
6464 .extensions = "a64, A64",
libavformat/aacdec.c+1−1
@@ -206,7 +206,7 @@ retry: · 205 unmodified lines
206206 return ret;
207207 }
208208
209−AVInputFormat ff_aac_demuxer = {
209+const AVInputFormat ff_aac_demuxer = {
210210 .name = "aac",
211211 .long_name = NULL_IF_CONFIG_SMALL("raw ADTS AAC (Advanced Audio Coding)"),
212212 .read_probe = adts_aac_probe,
libavformat/aadec.c+1−1
@@ -406,7 +406,7 @@ static const AVClass aa_class = { · 405 unmodified lines
406406 .version = LIBAVUTIL_VERSION_INT,
407407 };
408408
409−AVInputFormat ff_aa_demuxer = {
409+const AVInputFormat ff_aa_demuxer = {
410410 .name = "aa",
411411 .long_name = NULL_IF_CONFIG_SMALL("Audible AA format files"),
412412 .priv_class = &aa_class,
libavformat/aaxdec.c+1−1
@@ -402,7 +402,7 @@ static int aax_read_close(AVFormatContext *s) · 401 unmodified lines
402402 return 0;
403403 }
404404
405−AVInputFormat ff_aax_demuxer = {
405+const AVInputFormat ff_aax_demuxer = {
406406 .name = "aax",
407407 .long_name = NULL_IF_CONFIG_SMALL("CRI AAX"),
408408 .priv_data_size = sizeof(AAXContext),
libavformat/ac3dec.c+2−2
@@ -103,7 +103,7 @@ static int ac3_probe(const AVProbeData *p) · 102 unmodified lines
103103 }
104104
105105 FF_RAW_DEMUXER_CLASS(ac3)
106−AVInputFormat ff_ac3_demuxer = {
106+const AVInputFormat ff_ac3_demuxer = {
107107 .name = "ac3",
108108 .long_name = NULL_IF_CONFIG_SMALL("raw AC-3"),
109109 .read_probe = ac3_probe,
@@ -124,7 +124,7 @@ static int eac3_probe(const AVProbeData *p) · 14 unmodified lines
124124 }
125125
126126 FF_RAW_DEMUXER_CLASS(eac3)
127−AVInputFormat ff_eac3_demuxer = {
127+const AVInputFormat ff_eac3_demuxer = {
128128 .name = "eac3",
129129 .long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"),
130130 .read_probe = eac3_probe,
libavformat/acedec.c+1−1
@@ -104,7 +104,7 @@ static int ace_read_packet(AVFormatContext *s, AVPacket *pkt) · 103 unmodified lines
104104 return av_get_packet(s->pb, pkt, par->block_align);
105105 }
106106
107−AVInputFormat ff_ace_demuxer = {
107+const AVInputFormat ff_ace_demuxer = {
108108 .name = "ace",
109109 .long_name = NULL_IF_CONFIG_SMALL("tri-Ace Audio Container"),
110110 .read_probe = ace_probe,
libavformat/acm.c+1−1
@@ -61,7 +61,7 @@ static int acm_read_header(AVFormatContext *s) · 60 unmodified lines
6161 }
6262
6363 FF_RAW_DEMUXER_CLASS(acm)
64−AVInputFormat ff_acm_demuxer = {
64+const AVInputFormat ff_acm_demuxer = {
6565 .name = "acm",
6666 .long_name = NULL_IF_CONFIG_SMALL("Interplay ACM"),
6767 .read_probe = acm_probe,
libavformat/act.c+1−1
@@ -197,7 +197,7 @@ static int read_packet(AVFormatContext *s, · 196 unmodified lines
197197 return ret;
198198 }
199199
200−AVInputFormat ff_act_demuxer = {
200+const AVInputFormat ff_act_demuxer = {
201201 .name = "act",
202202 .long_name = "ACT Voice file format",
203203 .priv_data_size = sizeof(ACTContext),
libavformat/adp.c+1−1
@@ -83,7 +83,7 @@ static int adp_read_packet(AVFormatContext *s, AVPacket *pkt) · 82 unmodified lines
8383 return ret;
8484 }
8585
86−AVInputFormat ff_adp_demuxer = {
86+const AVInputFormat ff_adp_demuxer = {
8787 .name = "adp",
8888 .long_name = NULL_IF_CONFIG_SMALL("ADP"),
8989 .read_probe = adp_probe,
libavformat/ads.c+1−1
@@ -80,7 +80,7 @@ static int ads_read_packet(AVFormatContext *s, AVPacket *pkt) · 79 unmodified lines
8080 return ret;
8181 }
8282
83−AVInputFormat ff_ads_demuxer = {
83+const AVInputFormat ff_ads_demuxer = {
8484 .name = "ads",
8585 .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 ADS"),
8686 .read_probe = ads_probe,
libavformat/adtsenc.c+1−1
@@ -227,7 +227,7 @@ static const AVClass adts_muxer_class = { · 226 unmodified lines
227227 .version = LIBAVUTIL_VERSION_INT,
228228 };
229229
230−AVOutputFormat ff_adts_muxer = {
230+const AVOutputFormat ff_adts_muxer = {
231231 .name = "adts",
232232 .long_name = NULL_IF_CONFIG_SMALL("ADTS AAC (Advanced Audio Coding)"),
233233 .mime_type = "audio/aac",
libavformat/adxdec.c+1−1
@@ -129,7 +129,7 @@ static int adx_read_header(AVFormatContext *s) · 128 unmodified lines
129129 return 0;
130130 }
131131
132−AVInputFormat ff_adx_demuxer = {
132+const AVInputFormat ff_adx_demuxer = {
133133 .name = "adx",
134134 .long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
135135 .read_probe = adx_probe,
libavformat/aea.c+1−1
@@ -98,7 +98,7 @@ static int aea_read_packet(AVFormatContext *s, AVPacket *pkt) · 97 unmodified lines
9898 return ret;
9999 }
100100
101−AVInputFormat ff_aea_demuxer = {
101+const AVInputFormat ff_aea_demuxer = {
102102 .name = "aea",
103103 .long_name = NULL_IF_CONFIG_SMALL("MD STUDIO audio"),
104104 .read_probe = aea_read_probe,
libavformat/afc.c+1−1
@@ -69,7 +69,7 @@ static int afc_read_packet(AVFormatContext *s, AVPacket *pkt) · 68 unmodified lines
6969 return ret;
7070 }
7171
72−AVInputFormat ff_afc_demuxer = {
72+const AVInputFormat ff_afc_demuxer = {
7373 .name = "afc",
7474 .long_name = NULL_IF_CONFIG_SMALL("AFC"),
7575 .priv_data_size = sizeof(AFCDemuxContext),
libavformat/aiffdec.c+1−1
@@ -424,7 +424,7 @@ static int aiff_read_packet(AVFormatContext *s, · 423 unmodified lines
424424 return 0;
425425 }
426426
427−AVInputFormat ff_aiff_demuxer = {
427+const AVInputFormat ff_aiff_demuxer = {
428428 .name = "aiff",
429429 .long_name = NULL_IF_CONFIG_SMALL("Audio IFF"),
430430 .priv_data_size = sizeof(AIFFInputContext),
libavformat/aiffenc.c+1−1
@@ -285,7 +285,7 @@ static const AVClass aiff_muxer_class = { · 284 unmodified lines
285285 .version = LIBAVUTIL_VERSION_INT,
286286 };
287287
288−AVOutputFormat ff_aiff_muxer = {
288+const AVOutputFormat ff_aiff_muxer = {
289289 .name = "aiff",
290290 .long_name = NULL_IF_CONFIG_SMALL("Audio IFF"),
291291 .mime_type = "audio/aiff",
libavformat/aixdec.c+1−1
@@ -129,7 +129,7 @@ static int aix_read_packet(AVFormatContext *s, AVPacket *pkt) · 128 unmodified lines
129129 return ret;
130130 }
131131
132−AVInputFormat ff_aix_demuxer = {
132+const AVInputFormat ff_aix_demuxer = {
133133 .name = "aix",
134134 .long_name = NULL_IF_CONFIG_SMALL("CRI AIX"),
135135 .read_probe = aix_probe,
libavformat/allformats.c+500−500
@@ -24,509 +24,509 @@ · 23 unmodified lines
2424 #include "avformat.h"
2525
2626 /* (de)muxers */
27−extern AVOutputFormat ff_a64_muxer;
28−extern AVInputFormat ff_aa_demuxer;
29−extern AVInputFormat ff_aac_demuxer;
30−extern AVInputFormat ff_aax_demuxer;
31−extern AVInputFormat ff_ac3_demuxer;
32−extern AVOutputFormat ff_ac3_muxer;
33−extern AVInputFormat ff_ace_demuxer;
34−extern AVInputFormat ff_acm_demuxer;
35−extern AVInputFormat ff_act_demuxer;
36−extern AVInputFormat ff_adf_demuxer;
37−extern AVInputFormat ff_adp_demuxer;
38−extern AVInputFormat ff_ads_demuxer;
39−extern AVOutputFormat ff_adts_muxer;
40−extern AVInputFormat ff_adx_demuxer;
41−extern AVOutputFormat ff_adx_muxer;
42−extern AVInputFormat ff_aea_demuxer;
43−extern AVInputFormat ff_afc_demuxer;
44−extern AVInputFormat ff_aiff_demuxer;
45−extern AVOutputFormat ff_aiff_muxer;
46−extern AVInputFormat ff_aix_demuxer;
47−extern AVInputFormat ff_alp_demuxer;
48−extern AVOutputFormat ff_alp_muxer;
49−extern AVInputFormat ff_amr_demuxer;
50−extern AVOutputFormat ff_amr_muxer;
51−extern AVInputFormat ff_amrnb_demuxer;
52−extern AVInputFormat ff_amrwb_demuxer;
53−extern AVOutputFormat ff_amv_muxer;
54−extern AVInputFormat ff_anm_demuxer;
55−extern AVInputFormat ff_apc_demuxer;
56−extern AVInputFormat ff_ape_demuxer;
57−extern AVInputFormat ff_apm_demuxer;
58−extern AVOutputFormat ff_apm_muxer;
59−extern AVInputFormat ff_apng_demuxer;
60−extern AVOutputFormat ff_apng_muxer;
61−extern AVInputFormat ff_aptx_demuxer;
62−extern AVOutputFormat ff_aptx_muxer;
63−extern AVInputFormat ff_aptx_hd_demuxer;
64−extern AVOutputFormat ff_aptx_hd_muxer;
65−extern AVInputFormat ff_aqtitle_demuxer;
66−extern AVInputFormat ff_argo_asf_demuxer;
67−extern AVOutputFormat ff_argo_asf_muxer;
68−extern AVInputFormat ff_argo_brp_demuxer;
69−extern AVInputFormat ff_asf_demuxer;
70−extern AVOutputFormat ff_asf_muxer;
71−extern AVInputFormat ff_asf_o_demuxer;
72−extern AVInputFormat ff_ass_demuxer;
73−extern AVOutputFormat ff_ass_muxer;
74−extern AVInputFormat ff_ast_demuxer;
75−extern AVOutputFormat ff_ast_muxer;
76−extern AVOutputFormat ff_asf_stream_muxer;
77−extern AVInputFormat ff_au_demuxer;
78−extern AVOutputFormat ff_au_muxer;
79−extern AVInputFormat ff_av1_demuxer;
80−extern AVInputFormat ff_avi_demuxer;
81−extern AVOutputFormat ff_avi_muxer;
82−extern AVInputFormat ff_avisynth_demuxer;
83−extern AVOutputFormat ff_avm2_muxer;
84−extern AVInputFormat ff_avr_demuxer;
85−extern AVInputFormat ff_avs_demuxer;
86−extern AVInputFormat ff_avs2_demuxer;
87−extern AVOutputFormat ff_avs2_muxer;
88−extern AVInputFormat ff_avs3_demuxer;
89−extern AVInputFormat ff_bethsoftvid_demuxer;
90−extern AVInputFormat ff_bfi_demuxer;
91−extern AVInputFormat ff_bintext_demuxer;
92−extern AVInputFormat ff_bink_demuxer;
93−extern AVInputFormat ff_binka_demuxer;
94−extern AVInputFormat ff_bit_demuxer;
95−extern AVOutputFormat ff_bit_muxer;
96−extern AVInputFormat ff_bmv_demuxer;
97−extern AVInputFormat ff_bfstm_demuxer;
98−extern AVInputFormat ff_brstm_demuxer;
99−extern AVInputFormat ff_boa_demuxer;
100−extern AVInputFormat ff_c93_demuxer;
101−extern AVInputFormat ff_caf_demuxer;
102−extern AVOutputFormat ff_caf_muxer;
103−extern AVInputFormat ff_cavsvideo_demuxer;
104−extern AVOutputFormat ff_cavsvideo_muxer;
105−extern AVInputFormat ff_cdg_demuxer;
106−extern AVInputFormat ff_cdxl_demuxer;
107−extern AVInputFormat ff_cine_demuxer;
108−extern AVInputFormat ff_codec2_demuxer;
109−extern AVOutputFormat ff_codec2_muxer;
110−extern AVInputFormat ff_codec2raw_demuxer;
111−extern AVOutputFormat ff_codec2raw_muxer;
112−extern AVInputFormat ff_concat_demuxer;
113−extern AVOutputFormat ff_crc_muxer;
114−extern AVInputFormat ff_dash_demuxer;
115−extern AVOutputFormat ff_dash_muxer;
116−extern AVInputFormat ff_data_demuxer;
117−extern AVOutputFormat ff_data_muxer;
118−extern AVInputFormat ff_daud_demuxer;
119−extern AVOutputFormat ff_daud_muxer;
120−extern AVInputFormat ff_dcstr_demuxer;
121−extern AVInputFormat ff_derf_demuxer;
122−extern AVInputFormat ff_dfa_demuxer;
123−extern AVInputFormat ff_dhav_demuxer;
124−extern AVInputFormat ff_dirac_demuxer;
125−extern AVOutputFormat ff_dirac_muxer;
126−extern AVInputFormat ff_dnxhd_demuxer;
127−extern AVOutputFormat ff_dnxhd_muxer;
128−extern AVInputFormat ff_dsf_demuxer;
129−extern AVInputFormat ff_dsicin_demuxer;
130−extern AVInputFormat ff_dss_demuxer;
131−extern AVInputFormat ff_dts_demuxer;
132−extern AVOutputFormat ff_dts_muxer;
133−extern AVInputFormat ff_dtshd_demuxer;
134−extern AVInputFormat ff_dv_demuxer;
135−extern AVOutputFormat ff_dv_muxer;
136−extern AVInputFormat ff_dvbsub_demuxer;
137−extern AVInputFormat ff_dvbtxt_demuxer;
138−extern AVInputFormat ff_dxa_demuxer;
139−extern AVInputFormat ff_ea_demuxer;
140−extern AVInputFormat ff_ea_cdata_demuxer;
141−extern AVInputFormat ff_eac3_demuxer;
142−extern AVOutputFormat ff_eac3_muxer;
143−extern AVInputFormat ff_epaf_demuxer;
144−extern AVOutputFormat ff_f4v_muxer;
145−extern AVInputFormat ff_ffmetadata_demuxer;
146−extern AVOutputFormat ff_ffmetadata_muxer;
147−extern AVOutputFormat ff_fifo_muxer;
148−extern AVOutputFormat ff_fifo_test_muxer;
149−extern AVInputFormat ff_filmstrip_demuxer;
150−extern AVOutputFormat ff_filmstrip_muxer;
151−extern AVInputFormat ff_fits_demuxer;
152−extern AVOutputFormat ff_fits_muxer;
153−extern AVInputFormat ff_flac_demuxer;
154−extern AVOutputFormat ff_flac_muxer;
155−extern AVInputFormat ff_flic_demuxer;
156−extern AVInputFormat ff_flv_demuxer;
157−extern AVOutputFormat ff_flv_muxer;
158−extern AVInputFormat ff_live_flv_demuxer;
159−extern AVInputFormat ff_fourxm_demuxer;
160−extern AVOutputFormat ff_framecrc_muxer;
161−extern AVOutputFormat ff_framehash_muxer;
162−extern AVOutputFormat ff_framemd5_muxer;
163−extern AVInputFormat ff_frm_demuxer;
164−extern AVInputFormat ff_fsb_demuxer;
165−extern AVInputFormat ff_fwse_demuxer;
166−extern AVInputFormat ff_g722_demuxer;
167−extern AVOutputFormat ff_g722_muxer;
168−extern AVInputFormat ff_g723_1_demuxer;
169−extern AVOutputFormat ff_g723_1_muxer;
170−extern AVInputFormat ff_g726_demuxer;
171−extern AVOutputFormat ff_g726_muxer;
172−extern AVInputFormat ff_g726le_demuxer;
173−extern AVOutputFormat ff_g726le_muxer;
174−extern AVInputFormat ff_g729_demuxer;
175−extern AVInputFormat ff_gdv_demuxer;
176−extern AVInputFormat ff_genh_demuxer;
177−extern AVInputFormat ff_gif_demuxer;
178−extern AVOutputFormat ff_gif_muxer;
179−extern AVInputFormat ff_gsm_demuxer;
180−extern AVOutputFormat ff_gsm_muxer;
181−extern AVInputFormat ff_gxf_demuxer;
182−extern AVOutputFormat ff_gxf_muxer;
183−extern AVInputFormat ff_h261_demuxer;
184−extern AVOutputFormat ff_h261_muxer;
185−extern AVInputFormat ff_h263_demuxer;
186−extern AVOutputFormat ff_h263_muxer;
187−extern AVInputFormat ff_h264_demuxer;
188−extern AVOutputFormat ff_h264_muxer;
189−extern AVOutputFormat ff_hash_muxer;
190−extern AVInputFormat ff_hca_demuxer;
191−extern AVInputFormat ff_hcom_demuxer;
192−extern AVOutputFormat ff_hds_muxer;
193−extern AVInputFormat ff_hevc_demuxer;
194−extern AVOutputFormat ff_hevc_muxer;
195−extern AVInputFormat ff_hls_demuxer;
196−extern AVOutputFormat ff_hls_muxer;
197−extern AVInputFormat ff_hnm_demuxer;
198−extern AVInputFormat ff_ico_demuxer;
199−extern AVOutputFormat ff_ico_muxer;
200−extern AVInputFormat ff_idcin_demuxer;
201−extern AVInputFormat ff_idf_demuxer;
202−extern AVInputFormat ff_iff_demuxer;
203−extern AVInputFormat ff_ifv_demuxer;
204−extern AVInputFormat ff_ilbc_demuxer;
205−extern AVOutputFormat ff_ilbc_muxer;
206−extern AVInputFormat ff_image2_demuxer;
207−extern AVOutputFormat ff_image2_muxer;
208−extern AVInputFormat ff_image2pipe_demuxer;
209−extern AVOutputFormat ff_image2pipe_muxer;
210−extern AVInputFormat ff_image2_alias_pix_demuxer;
211−extern AVInputFormat ff_image2_brender_pix_demuxer;
212−extern AVInputFormat ff_ingenient_demuxer;
213−extern AVInputFormat ff_ipmovie_demuxer;
214−extern AVOutputFormat ff_ipod_muxer;
215−extern AVInputFormat ff_ipu_demuxer;
216−extern AVInputFormat ff_ircam_demuxer;
217−extern AVOutputFormat ff_ircam_muxer;
218−extern AVOutputFormat ff_ismv_muxer;
219−extern AVInputFormat ff_iss_demuxer;
220−extern AVInputFormat ff_iv8_demuxer;
221−extern AVInputFormat ff_ivf_demuxer;
222−extern AVOutputFormat ff_ivf_muxer;
223−extern AVInputFormat ff_ivr_demuxer;
224−extern AVInputFormat ff_jacosub_demuxer;
225−extern AVOutputFormat ff_jacosub_muxer;
226−extern AVInputFormat ff_jv_demuxer;
227−extern AVInputFormat ff_kux_demuxer;
228−extern AVInputFormat ff_kvag_demuxer;
229−extern AVOutputFormat ff_kvag_muxer;
230−extern AVOutputFormat ff_latm_muxer;
231−extern AVInputFormat ff_lmlm4_demuxer;
232−extern AVInputFormat ff_loas_demuxer;
233−extern AVInputFormat ff_luodat_demuxer;
234−extern AVInputFormat ff_lrc_demuxer;
235−extern AVOutputFormat ff_lrc_muxer;
236−extern AVInputFormat ff_lvf_demuxer;
237−extern AVInputFormat ff_lxf_demuxer;
238−extern AVInputFormat ff_m4v_demuxer;
239−extern AVOutputFormat ff_m4v_muxer;
240−extern AVInputFormat ff_mca_demuxer;
241−extern AVInputFormat ff_mcc_demuxer;
242−extern AVOutputFormat ff_md5_muxer;
243−extern AVInputFormat ff_matroska_demuxer;
244−extern AVOutputFormat ff_matroska_muxer;
245−extern AVOutputFormat ff_matroska_audio_muxer;
246−extern AVInputFormat ff_mgsts_demuxer;
247−extern AVInputFormat ff_microdvd_demuxer;
248−extern AVOutputFormat ff_microdvd_muxer;
249−extern AVInputFormat ff_mjpeg_demuxer;
250−extern AVOutputFormat ff_mjpeg_muxer;
251−extern AVInputFormat ff_mjpeg_2000_demuxer;
252−extern AVInputFormat ff_mlp_demuxer;
253−extern AVOutputFormat ff_mlp_muxer;
254−extern AVInputFormat ff_mlv_demuxer;
255−extern AVInputFormat ff_mm_demuxer;
256−extern AVInputFormat ff_mmf_demuxer;
257−extern AVOutputFormat ff_mmf_muxer;
258−extern AVInputFormat ff_mods_demuxer;
259−extern AVInputFormat ff_moflex_demuxer;
260−extern AVInputFormat ff_mov_demuxer;
261−extern AVOutputFormat ff_mov_muxer;
262−extern AVOutputFormat ff_mp2_muxer;
263−extern AVInputFormat ff_mp3_demuxer;
264−extern AVOutputFormat ff_mp3_muxer;
265−extern AVOutputFormat ff_mp4_muxer;
266−extern AVInputFormat ff_mpc_demuxer;
267−extern AVInputFormat ff_mpc8_demuxer;
268−extern AVOutputFormat ff_mpeg1system_muxer;
269−extern AVOutputFormat ff_mpeg1vcd_muxer;
270−extern AVOutputFormat ff_mpeg1video_muxer;
271−extern AVOutputFormat ff_mpeg2dvd_muxer;
272−extern AVOutputFormat ff_mpeg2svcd_muxer;
273−extern AVOutputFormat ff_mpeg2video_muxer;
274−extern AVOutputFormat ff_mpeg2vob_muxer;
275−extern AVInputFormat ff_mpegps_demuxer;
276−extern AVInputFormat ff_mpegts_demuxer;
277−extern AVOutputFormat ff_mpegts_muxer;
278−extern AVInputFormat ff_mpegtsraw_demuxer;
279−extern AVInputFormat ff_mpegvideo_demuxer;
280−extern AVInputFormat ff_mpjpeg_demuxer;
281−extern AVOutputFormat ff_mpjpeg_muxer;
282−extern AVInputFormat ff_mpl2_demuxer;
283−extern AVInputFormat ff_mpsub_demuxer;
284−extern AVInputFormat ff_msf_demuxer;
285−extern AVInputFormat ff_msnwc_tcp_demuxer;
286−extern AVInputFormat ff_msp_demuxer;
287−extern AVInputFormat ff_mtaf_demuxer;
288−extern AVInputFormat ff_mtv_demuxer;
289−extern AVInputFormat ff_musx_demuxer;
290−extern AVInputFormat ff_mv_demuxer;
291−extern AVInputFormat ff_mvi_demuxer;
292−extern AVInputFormat ff_mxf_demuxer;
293−extern AVOutputFormat ff_mxf_muxer;
294−extern AVOutputFormat ff_mxf_d10_muxer;
295−extern AVOutputFormat ff_mxf_opatom_muxer;
296−extern AVInputFormat ff_mxg_demuxer;
297−extern AVInputFormat ff_nc_demuxer;
298−extern AVInputFormat ff_nistsphere_demuxer;
299−extern AVInputFormat ff_nsp_demuxer;
300−extern AVInputFormat ff_nsv_demuxer;
301−extern AVOutputFormat ff_null_muxer;
302−extern AVInputFormat ff_nut_demuxer;
303−extern AVOutputFormat ff_nut_muxer;
304−extern AVInputFormat ff_nuv_demuxer;
305−extern AVInputFormat ff_obu_demuxer;
306−extern AVOutputFormat ff_oga_muxer;
307−extern AVInputFormat ff_ogg_demuxer;
308−extern AVOutputFormat ff_ogg_muxer;
309−extern AVOutputFormat ff_ogv_muxer;
310−extern AVInputFormat ff_oma_demuxer;
311−extern AVOutputFormat ff_oma_muxer;
312−extern AVOutputFormat ff_opus_muxer;
313−extern AVInputFormat ff_paf_demuxer;
314−extern AVInputFormat ff_pcm_alaw_demuxer;
315−extern AVOutputFormat ff_pcm_alaw_muxer;
316−extern AVInputFormat ff_pcm_mulaw_demuxer;
317−extern AVOutputFormat ff_pcm_mulaw_muxer;
318−extern AVInputFormat ff_pcm_vidc_demuxer;
319−extern AVOutputFormat ff_pcm_vidc_muxer;
320−extern AVInputFormat ff_pcm_f64be_demuxer;
321−extern AVOutputFormat ff_pcm_f64be_muxer;
322−extern AVInputFormat ff_pcm_f64le_demuxer;
323−extern AVOutputFormat ff_pcm_f64le_muxer;
324−extern AVInputFormat ff_pcm_f32be_demuxer;
325−extern AVOutputFormat ff_pcm_f32be_muxer;
326−extern AVInputFormat ff_pcm_f32le_demuxer;
327−extern AVOutputFormat ff_pcm_f32le_muxer;
328−extern AVInputFormat ff_pcm_s32be_demuxer;
329−extern AVOutputFormat ff_pcm_s32be_muxer;
330−extern AVInputFormat ff_pcm_s32le_demuxer;
331−extern AVOutputFormat ff_pcm_s32le_muxer;
332−extern AVInputFormat ff_pcm_s24be_demuxer;
333−extern AVOutputFormat ff_pcm_s24be_muxer;
334−extern AVInputFormat ff_pcm_s24le_demuxer;
335−extern AVOutputFormat ff_pcm_s24le_muxer;
336−extern AVInputFormat ff_pcm_s16be_demuxer;
337−extern AVOutputFormat ff_pcm_s16be_muxer;
338−extern AVInputFormat ff_pcm_s16le_demuxer;
339−extern AVOutputFormat ff_pcm_s16le_muxer;
340−extern AVInputFormat ff_pcm_s8_demuxer;
341−extern AVOutputFormat ff_pcm_s8_muxer;
342−extern AVInputFormat ff_pcm_u32be_demuxer;
343−extern AVOutputFormat ff_pcm_u32be_muxer;
344−extern AVInputFormat ff_pcm_u32le_demuxer;
345−extern AVOutputFormat ff_pcm_u32le_muxer;
346−extern AVInputFormat ff_pcm_u24be_demuxer;
347−extern AVOutputFormat ff_pcm_u24be_muxer;
348−extern AVInputFormat ff_pcm_u24le_demuxer;
349−extern AVOutputFormat ff_pcm_u24le_muxer;
350−extern AVInputFormat ff_pcm_u16be_demuxer;
351−extern AVOutputFormat ff_pcm_u16be_muxer;
352−extern AVInputFormat ff_pcm_u16le_demuxer;
353−extern AVOutputFormat ff_pcm_u16le_muxer;
354−extern AVInputFormat ff_pcm_u8_demuxer;
355−extern AVOutputFormat ff_pcm_u8_muxer;
356−extern AVInputFormat ff_pjs_demuxer;
357−extern AVInputFormat ff_pmp_demuxer;
358−extern AVInputFormat ff_pp_bnk_demuxer;
359−extern AVOutputFormat ff_psp_muxer;
360−extern AVInputFormat ff_pva_demuxer;
361−extern AVInputFormat ff_pvf_demuxer;
362−extern AVInputFormat ff_qcp_demuxer;
363−extern AVInputFormat ff_r3d_demuxer;
364−extern AVInputFormat ff_rawvideo_demuxer;
365−extern AVOutputFormat ff_rawvideo_muxer;
366−extern AVInputFormat ff_realtext_demuxer;
367−extern AVInputFormat ff_redspark_demuxer;
368−extern AVInputFormat ff_rl2_demuxer;
369−extern AVInputFormat ff_rm_demuxer;
370−extern AVOutputFormat ff_rm_muxer;
371−extern AVInputFormat ff_roq_demuxer;
372−extern AVOutputFormat ff_roq_muxer;
373−extern AVInputFormat ff_rpl_demuxer;
374−extern AVInputFormat ff_rsd_demuxer;
375−extern AVInputFormat ff_rso_demuxer;
376−extern AVOutputFormat ff_rso_muxer;
377−extern AVInputFormat ff_rtp_demuxer;
378−extern AVOutputFormat ff_rtp_muxer;
379−extern AVOutputFormat ff_rtp_mpegts_muxer;
380−extern AVInputFormat ff_rtsp_demuxer;
381−extern AVOutputFormat ff_rtsp_muxer;
382−extern AVInputFormat ff_s337m_demuxer;
383−extern AVInputFormat ff_sami_demuxer;
384−extern AVInputFormat ff_sap_demuxer;
385−extern AVOutputFormat ff_sap_muxer;
386−extern AVInputFormat ff_sbc_demuxer;
387−extern AVOutputFormat ff_sbc_muxer;
388−extern AVInputFormat ff_sbg_demuxer;
389−extern AVInputFormat ff_scc_demuxer;
390−extern AVOutputFormat ff_scc_muxer;
391−extern AVInputFormat ff_sdp_demuxer;
392−extern AVInputFormat ff_sdr2_demuxer;
393−extern AVInputFormat ff_sds_demuxer;
394−extern AVInputFormat ff_sdx_demuxer;
395−extern AVInputFormat ff_segafilm_demuxer;
396−extern AVOutputFormat ff_segafilm_muxer;
397−extern AVOutputFormat ff_segment_muxer;
398−extern AVOutputFormat ff_stream_segment_muxer;
399−extern AVInputFormat ff_ser_demuxer;
400−extern AVInputFormat ff_sga_demuxer;
401−extern AVInputFormat ff_shorten_demuxer;
402−extern AVInputFormat ff_siff_demuxer;
403−extern AVInputFormat ff_simbiosis_imx_demuxer;
404−extern AVInputFormat ff_sln_demuxer;
405−extern AVInputFormat ff_smacker_demuxer;
406−extern AVInputFormat ff_smjpeg_demuxer;
407−extern AVOutputFormat ff_smjpeg_muxer;
408−extern AVOutputFormat ff_smoothstreaming_muxer;
409−extern AVInputFormat ff_smush_demuxer;
410−extern AVInputFormat ff_sol_demuxer;
411−extern AVInputFormat ff_sox_demuxer;
412−extern AVOutputFormat ff_sox_muxer;
413−extern AVOutputFormat ff_spx_muxer;
414−extern AVInputFormat ff_spdif_demuxer;
415−extern AVOutputFormat ff_spdif_muxer;
416−extern AVInputFormat ff_srt_demuxer;
417−extern AVOutputFormat ff_srt_muxer;
418−extern AVInputFormat ff_str_demuxer;
419−extern AVInputFormat ff_stl_demuxer;
420−extern AVOutputFormat ff_streamhash_muxer;
421−extern AVInputFormat ff_subviewer1_demuxer;
422−extern AVInputFormat ff_subviewer_demuxer;
423−extern AVInputFormat ff_sup_demuxer;
424−extern AVOutputFormat ff_sup_muxer;
425−extern AVInputFormat ff_svag_demuxer;
426−extern AVInputFormat ff_svs_demuxer;
427−extern AVInputFormat ff_swf_demuxer;
428−extern AVOutputFormat ff_swf_muxer;
429−extern AVInputFormat ff_tak_demuxer;
430−extern AVOutputFormat ff_tee_muxer;
431−extern AVInputFormat ff_tedcaptions_demuxer;
432−extern AVOutputFormat ff_tg2_muxer;
433−extern AVOutputFormat ff_tgp_muxer;
434−extern AVInputFormat ff_thp_demuxer;
435−extern AVInputFormat ff_threedostr_demuxer;
436−extern AVInputFormat ff_tiertexseq_demuxer;
437−extern AVOutputFormat ff_mkvtimestamp_v2_muxer;
438−extern AVInputFormat ff_tmv_demuxer;
439−extern AVInputFormat ff_truehd_demuxer;
440−extern AVOutputFormat ff_truehd_muxer;
441−extern AVInputFormat ff_tta_demuxer;
442−extern AVOutputFormat ff_tta_muxer;
443−extern AVOutputFormat ff_ttml_muxer;
444−extern AVInputFormat ff_txd_demuxer;
445−extern AVInputFormat ff_tty_demuxer;
446−extern AVInputFormat ff_ty_demuxer;
447−extern AVOutputFormat ff_uncodedframecrc_muxer;
448−extern AVInputFormat ff_v210_demuxer;
449−extern AVInputFormat ff_v210x_demuxer;
450−extern AVInputFormat ff_vag_demuxer;
451−extern AVInputFormat ff_vc1_demuxer;
452−extern AVOutputFormat ff_vc1_muxer;
453−extern AVInputFormat ff_vc1t_demuxer;
454−extern AVOutputFormat ff_vc1t_muxer;
455−extern AVInputFormat ff_vividas_demuxer;
456−extern AVInputFormat ff_vivo_demuxer;
457−extern AVInputFormat ff_vmd_demuxer;
458−extern AVInputFormat ff_vobsub_demuxer;
459−extern AVInputFormat ff_voc_demuxer;
460−extern AVOutputFormat ff_voc_muxer;
461−extern AVInputFormat ff_vpk_demuxer;
462−extern AVInputFormat ff_vplayer_demuxer;
463−extern AVInputFormat ff_vqf_demuxer;
464−extern AVInputFormat ff_w64_demuxer;
465−extern AVOutputFormat ff_w64_muxer;
466−extern AVInputFormat ff_wav_demuxer;
467−extern AVOutputFormat ff_wav_muxer;
468−extern AVInputFormat ff_wc3_demuxer;
469−extern AVOutputFormat ff_webm_muxer;
470−extern AVInputFormat ff_webm_dash_manifest_demuxer;
471−extern AVOutputFormat ff_webm_dash_manifest_muxer;
472−extern AVOutputFormat ff_webm_chunk_muxer;
473−extern AVOutputFormat ff_webp_muxer;
474−extern AVInputFormat ff_webvtt_demuxer;
475−extern AVOutputFormat ff_webvtt_muxer;
476−extern AVInputFormat ff_wsaud_demuxer;
477−extern AVOutputFormat ff_wsaud_muxer;
478−extern AVInputFormat ff_wsd_demuxer;
479−extern AVInputFormat ff_wsvqa_demuxer;
480−extern AVInputFormat ff_wtv_demuxer;
481−extern AVOutputFormat ff_wtv_muxer;
482−extern AVInputFormat ff_wve_demuxer;
483−extern AVInputFormat ff_wv_demuxer;
484−extern AVOutputFormat ff_wv_muxer;
485−extern AVInputFormat ff_xa_demuxer;
486−extern AVInputFormat ff_xbin_demuxer;
487−extern AVInputFormat ff_xmv_demuxer;
488−extern AVInputFormat ff_xvag_demuxer;
489−extern AVInputFormat ff_xwma_demuxer;
490−extern AVInputFormat ff_yop_demuxer;
491−extern AVInputFormat ff_yuv4mpegpipe_demuxer;
492−extern AVOutputFormat ff_yuv4mpegpipe_muxer;
27+extern const AVOutputFormat ff_a64_muxer;
28+extern const AVInputFormat ff_aa_demuxer;
29+extern const AVInputFormat ff_aac_demuxer;
30+extern const AVInputFormat ff_aax_demuxer;
31+extern const AVInputFormat ff_ac3_demuxer;
32+extern const AVOutputFormat ff_ac3_muxer;
33+extern const AVInputFormat ff_ace_demuxer;
34+extern const AVInputFormat ff_acm_demuxer;
35+extern const AVInputFormat ff_act_demuxer;
36+extern const AVInputFormat ff_adf_demuxer;
37+extern const AVInputFormat ff_adp_demuxer;
38+extern const AVInputFormat ff_ads_demuxer;
39+extern const AVOutputFormat ff_adts_muxer;
40+extern const AVInputFormat ff_adx_demuxer;
41+extern const AVOutputFormat ff_adx_muxer;
42+extern const AVInputFormat ff_aea_demuxer;
43+extern const AVInputFormat ff_afc_demuxer;
44+extern const AVInputFormat ff_aiff_demuxer;
45+extern const AVOutputFormat ff_aiff_muxer;
46+extern const AVInputFormat ff_aix_demuxer;
47+extern const AVInputFormat ff_alp_demuxer;
48+extern const AVOutputFormat ff_alp_muxer;
49+extern const AVInputFormat ff_amr_demuxer;
50+extern const AVOutputFormat ff_amr_muxer;
51+extern const AVInputFormat ff_amrnb_demuxer;
52+extern const AVInputFormat ff_amrwb_demuxer;
53+extern const AVOutputFormat ff_amv_muxer;
54+extern const AVInputFormat ff_anm_demuxer;
55+extern const AVInputFormat ff_apc_demuxer;
56+extern const AVInputFormat ff_ape_demuxer;
57+extern const AVInputFormat ff_apm_demuxer;
58+extern const AVOutputFormat ff_apm_muxer;
59+extern const AVInputFormat ff_apng_demuxer;
60+extern const AVOutputFormat ff_apng_muxer;
61+extern const AVInputFormat ff_aptx_demuxer;
62+extern const AVOutputFormat ff_aptx_muxer;
63+extern const AVInputFormat ff_aptx_hd_demuxer;
64+extern const AVOutputFormat ff_aptx_hd_muxer;
65+extern const AVInputFormat ff_aqtitle_demuxer;
66+extern const AVInputFormat ff_argo_asf_demuxer;
67+extern const AVOutputFormat ff_argo_asf_muxer;
68+extern const AVInputFormat ff_argo_brp_demuxer;
69+extern const AVInputFormat ff_asf_demuxer;
70+extern const AVOutputFormat ff_asf_muxer;
71+extern const AVInputFormat ff_asf_o_demuxer;
72+extern const AVInputFormat ff_ass_demuxer;
73+extern const AVOutputFormat ff_ass_muxer;
74+extern const AVInputFormat ff_ast_demuxer;
75+extern const AVOutputFormat ff_ast_muxer;
76+extern const AVOutputFormat ff_asf_stream_muxer;
77+extern const AVInputFormat ff_au_demuxer;
78+extern const AVOutputFormat ff_au_muxer;
79+extern const AVInputFormat ff_av1_demuxer;
80+extern const AVInputFormat ff_avi_demuxer;
81+extern const AVOutputFormat ff_avi_muxer;
82+extern const AVInputFormat ff_avisynth_demuxer;
83+extern const AVOutputFormat ff_avm2_muxer;
84+extern const AVInputFormat ff_avr_demuxer;
85+extern const AVInputFormat ff_avs_demuxer;
86+extern const AVInputFormat ff_avs2_demuxer;
87+extern const AVOutputFormat ff_avs2_muxer;
88+extern const AVInputFormat ff_avs3_demuxer;
89+extern const AVInputFormat ff_bethsoftvid_demuxer;
90+extern const AVInputFormat ff_bfi_demuxer;
91+extern const AVInputFormat ff_bintext_demuxer;
92+extern const AVInputFormat ff_bink_demuxer;
93+extern const AVInputFormat ff_binka_demuxer;
94+extern const AVInputFormat ff_bit_demuxer;
95+extern const AVOutputFormat ff_bit_muxer;
96+extern const AVInputFormat ff_bmv_demuxer;
97+extern const AVInputFormat ff_bfstm_demuxer;
98+extern const AVInputFormat ff_brstm_demuxer;
99+extern const AVInputFormat ff_boa_demuxer;
100+extern const AVInputFormat ff_c93_demuxer;
101+extern const AVInputFormat ff_caf_demuxer;
102+extern const AVOutputFormat ff_caf_muxer;
103+extern const AVInputFormat ff_cavsvideo_demuxer;
104+extern const AVOutputFormat ff_cavsvideo_muxer;
105+extern const AVInputFormat ff_cdg_demuxer;
106+extern const AVInputFormat ff_cdxl_demuxer;
107+extern const AVInputFormat ff_cine_demuxer;
108+extern const AVInputFormat ff_codec2_demuxer;
109+extern const AVOutputFormat ff_codec2_muxer;
110+extern const AVInputFormat ff_codec2raw_demuxer;
111+extern const AVOutputFormat ff_codec2raw_muxer;
112+extern const AVInputFormat ff_concat_demuxer;
113+extern const AVOutputFormat ff_crc_muxer;
114+extern const AVInputFormat ff_dash_demuxer;
115+extern const AVOutputFormat ff_dash_muxer;
116+extern const AVInputFormat ff_data_demuxer;
117+extern const AVOutputFormat ff_data_muxer;
118+extern const AVInputFormat ff_daud_demuxer;
119+extern const AVOutputFormat ff_daud_muxer;
120+extern const AVInputFormat ff_dcstr_demuxer;
121+extern const AVInputFormat ff_derf_demuxer;
122+extern const AVInputFormat ff_dfa_demuxer;
123+extern const AVInputFormat ff_dhav_demuxer;
124+extern const AVInputFormat ff_dirac_demuxer;
125+extern const AVOutputFormat ff_dirac_muxer;
126+extern const AVInputFormat ff_dnxhd_demuxer;
127+extern const AVOutputFormat ff_dnxhd_muxer;
128+extern const AVInputFormat ff_dsf_demuxer;
129+extern const AVInputFormat ff_dsicin_demuxer;
130+extern const AVInputFormat ff_dss_demuxer;
131+extern const AVInputFormat ff_dts_demuxer;
132+extern const AVOutputFormat ff_dts_muxer;
133+extern const AVInputFormat ff_dtshd_demuxer;
134+extern const AVInputFormat ff_dv_demuxer;
135+extern const AVOutputFormat ff_dv_muxer;
136+extern const AVInputFormat ff_dvbsub_demuxer;
137+extern const AVInputFormat ff_dvbtxt_demuxer;
138+extern const AVInputFormat ff_dxa_demuxer;
139+extern const AVInputFormat ff_ea_demuxer;
140+extern const AVInputFormat ff_ea_cdata_demuxer;
141+extern const AVInputFormat ff_eac3_demuxer;
142+extern const AVOutputFormat ff_eac3_muxer;
143+extern const AVInputFormat ff_epaf_demuxer;
144+extern const AVOutputFormat ff_f4v_muxer;
145+extern const AVInputFormat ff_ffmetadata_demuxer;
146+extern const AVOutputFormat ff_ffmetadata_muxer;
147+extern const AVOutputFormat ff_fifo_muxer;
148+extern const AVOutputFormat ff_fifo_test_muxer;
149+extern const AVInputFormat ff_filmstrip_demuxer;
150+extern const AVOutputFormat ff_filmstrip_muxer;
151+extern const AVInputFormat ff_fits_demuxer;
152+extern const AVOutputFormat ff_fits_muxer;
153+extern const AVInputFormat ff_flac_demuxer;
154+extern const AVOutputFormat ff_flac_muxer;
155+extern const AVInputFormat ff_flic_demuxer;
156+extern const AVInputFormat ff_flv_demuxer;
157+extern const AVOutputFormat ff_flv_muxer;
158+extern const AVInputFormat ff_live_flv_demuxer;
159+extern const AVInputFormat ff_fourxm_demuxer;
160+extern const AVOutputFormat ff_framecrc_muxer;
161+extern const AVOutputFormat ff_framehash_muxer;
162+extern const AVOutputFormat ff_framemd5_muxer;
163+extern const AVInputFormat ff_frm_demuxer;
164+extern const AVInputFormat ff_fsb_demuxer;
165+extern const AVInputFormat ff_fwse_demuxer;
166+extern const AVInputFormat ff_g722_demuxer;
167+extern const AVOutputFormat ff_g722_muxer;
168+extern const AVInputFormat ff_g723_1_demuxer;
169+extern const AVOutputFormat ff_g723_1_muxer;
170+extern const AVInputFormat ff_g726_demuxer;
171+extern const AVOutputFormat ff_g726_muxer;
172+extern const AVInputFormat ff_g726le_demuxer;
173+extern const AVOutputFormat ff_g726le_muxer;
174+extern const AVInputFormat ff_g729_demuxer;
175+extern const AVInputFormat ff_gdv_demuxer;
176+extern const AVInputFormat ff_genh_demuxer;
177+extern const AVInputFormat ff_gif_demuxer;
178+extern const AVOutputFormat ff_gif_muxer;
179+extern const AVInputFormat ff_gsm_demuxer;
180+extern const AVOutputFormat ff_gsm_muxer;
181+extern const AVInputFormat ff_gxf_demuxer;
182+extern const AVOutputFormat ff_gxf_muxer;
183+extern const AVInputFormat ff_h261_demuxer;
184+extern const AVOutputFormat ff_h261_muxer;
185+extern const AVInputFormat ff_h263_demuxer;
186+extern const AVOutputFormat ff_h263_muxer;
187+extern const AVInputFormat ff_h264_demuxer;
188+extern const AVOutputFormat ff_h264_muxer;
189+extern const AVOutputFormat ff_hash_muxer;
190+extern const AVInputFormat ff_hca_demuxer;
191+extern const AVInputFormat ff_hcom_demuxer;
192+extern const AVOutputFormat ff_hds_muxer;
193+extern const AVInputFormat ff_hevc_demuxer;
194+extern const AVOutputFormat ff_hevc_muxer;
195+extern const AVInputFormat ff_hls_demuxer;
196+extern const AVOutputFormat ff_hls_muxer;
197+extern const AVInputFormat ff_hnm_demuxer;
198+extern const AVInputFormat ff_ico_demuxer;
199+extern const AVOutputFormat ff_ico_muxer;
200+extern const AVInputFormat ff_idcin_demuxer;
201+extern const AVInputFormat ff_idf_demuxer;
202+extern const AVInputFormat ff_iff_demuxer;
203+extern const AVInputFormat ff_ifv_demuxer;
204+extern const AVInputFormat ff_ilbc_demuxer;
205+extern const AVOutputFormat ff_ilbc_muxer;
206+extern const AVInputFormat ff_image2_demuxer;
207+extern const AVOutputFormat ff_image2_muxer;
208+extern const AVInputFormat ff_image2pipe_demuxer;
209+extern const AVOutputFormat ff_image2pipe_muxer;
210+extern const AVInputFormat ff_image2_alias_pix_demuxer;
211+extern const AVInputFormat ff_image2_brender_pix_demuxer;
212+extern const AVInputFormat ff_ingenient_demuxer;
213+extern const AVInputFormat ff_ipmovie_demuxer;
214+extern const AVOutputFormat ff_ipod_muxer;
215+extern const AVInputFormat ff_ipu_demuxer;
216+extern const AVInputFormat ff_ircam_demuxer;
217+extern const AVOutputFormat ff_ircam_muxer;
218+extern const AVOutputFormat ff_ismv_muxer;
219+extern const AVInputFormat ff_iss_demuxer;
220+extern const AVInputFormat ff_iv8_demuxer;
221+extern const AVInputFormat ff_ivf_demuxer;
222+extern const AVOutputFormat ff_ivf_muxer;
223+extern const AVInputFormat ff_ivr_demuxer;
224+extern const AVInputFormat ff_jacosub_demuxer;
225+extern const AVOutputFormat ff_jacosub_muxer;
226+extern const AVInputFormat ff_jv_demuxer;
227+extern const AVInputFormat ff_kux_demuxer;
228+extern const AVInputFormat ff_kvag_demuxer;
229+extern const AVOutputFormat ff_kvag_muxer;
230+extern const AVOutputFormat ff_latm_muxer;
231+extern const AVInputFormat ff_lmlm4_demuxer;
232+extern const AVInputFormat ff_loas_demuxer;
233+extern const AVInputFormat ff_luodat_demuxer;
234+extern const AVInputFormat ff_lrc_demuxer;
235+extern const AVOutputFormat ff_lrc_muxer;
236+extern const AVInputFormat ff_lvf_demuxer;
237+extern const AVInputFormat ff_lxf_demuxer;
238+extern const AVInputFormat ff_m4v_demuxer;
239+extern const AVOutputFormat ff_m4v_muxer;
240+extern const AVInputFormat ff_mca_demuxer;
241+extern const AVInputFormat ff_mcc_demuxer;
242+extern const AVOutputFormat ff_md5_muxer;
243+extern const AVInputFormat ff_matroska_demuxer;
244+extern const AVOutputFormat ff_matroska_muxer;
245+extern const AVOutputFormat ff_matroska_audio_muxer;
246+extern const AVInputFormat ff_mgsts_demuxer;
247+extern const AVInputFormat ff_microdvd_demuxer;
248+extern const AVOutputFormat ff_microdvd_muxer;
249+extern const AVInputFormat ff_mjpeg_demuxer;
250+extern const AVOutputFormat ff_mjpeg_muxer;
251+extern const AVInputFormat ff_mjpeg_2000_demuxer;
252+extern const AVInputFormat ff_mlp_demuxer;
253+extern const AVOutputFormat ff_mlp_muxer;
254+extern const AVInputFormat ff_mlv_demuxer;
255+extern const AVInputFormat ff_mm_demuxer;
256+extern const AVInputFormat ff_mmf_demuxer;
257+extern const AVOutputFormat ff_mmf_muxer;
258+extern const AVInputFormat ff_mods_demuxer;
259+extern const AVInputFormat ff_moflex_demuxer;
260+extern const AVInputFormat ff_mov_demuxer;
261+extern const AVOutputFormat ff_mov_muxer;
262+extern const AVOutputFormat ff_mp2_muxer;
263+extern const AVInputFormat ff_mp3_demuxer;
264+extern const AVOutputFormat ff_mp3_muxer;
265+extern const AVOutputFormat ff_mp4_muxer;
266+extern const AVInputFormat ff_mpc_demuxer;
267+extern const AVInputFormat ff_mpc8_demuxer;
268+extern const AVOutputFormat ff_mpeg1system_muxer;
269+extern const AVOutputFormat ff_mpeg1vcd_muxer;
270+extern const AVOutputFormat ff_mpeg1video_muxer;
271+extern const AVOutputFormat ff_mpeg2dvd_muxer;
272+extern const AVOutputFormat ff_mpeg2svcd_muxer;
273+extern const AVOutputFormat ff_mpeg2video_muxer;
274+extern const AVOutputFormat ff_mpeg2vob_muxer;
275+extern const AVInputFormat ff_mpegps_demuxer;
276+extern const AVInputFormat ff_mpegts_demuxer;
277+extern const AVOutputFormat ff_mpegts_muxer;
278+extern const AVInputFormat ff_mpegtsraw_demuxer;
279+extern const AVInputFormat ff_mpegvideo_demuxer;
280+extern const AVInputFormat ff_mpjpeg_demuxer;
281+extern const AVOutputFormat ff_mpjpeg_muxer;
282+extern const AVInputFormat ff_mpl2_demuxer;
283+extern const AVInputFormat ff_mpsub_demuxer;
284+extern const AVInputFormat ff_msf_demuxer;
285+extern const AVInputFormat ff_msnwc_tcp_demuxer;
286+extern const AVInputFormat ff_msp_demuxer;
287+extern const AVInputFormat ff_mtaf_demuxer;
288+extern const AVInputFormat ff_mtv_demuxer;
289+extern const AVInputFormat ff_musx_demuxer;
290+extern const AVInputFormat ff_mv_demuxer;
291+extern const AVInputFormat ff_mvi_demuxer;
292+extern const AVInputFormat ff_mxf_demuxer;
293+extern const AVOutputFormat ff_mxf_muxer;
294+extern const AVOutputFormat ff_mxf_d10_muxer;
295+extern const AVOutputFormat ff_mxf_opatom_muxer;
296+extern const AVInputFormat ff_mxg_demuxer;
297+extern const AVInputFormat ff_nc_demuxer;
298+extern const AVInputFormat ff_nistsphere_demuxer;
299+extern const AVInputFormat ff_nsp_demuxer;
300+extern const AVInputFormat ff_nsv_demuxer;
301+extern const AVOutputFormat ff_null_muxer;
302+extern const AVInputFormat ff_nut_demuxer;
303+extern const AVOutputFormat ff_nut_muxer;
304+extern const AVInputFormat ff_nuv_demuxer;
305+extern const AVInputFormat ff_obu_demuxer;
306+extern const AVOutputFormat ff_oga_muxer;
307+extern const AVInputFormat ff_ogg_demuxer;
308+extern const AVOutputFormat ff_ogg_muxer;
309+extern const AVOutputFormat ff_ogv_muxer;
310+extern const AVInputFormat ff_oma_demuxer;
311+extern const AVOutputFormat ff_oma_muxer;
312+extern const AVOutputFormat ff_opus_muxer;
313+extern const AVInputFormat ff_paf_demuxer;
314+extern const AVInputFormat ff_pcm_alaw_demuxer;
315+extern const AVOutputFormat ff_pcm_alaw_muxer;
316+extern const AVInputFormat ff_pcm_mulaw_demuxer;
317+extern const AVOutputFormat ff_pcm_mulaw_muxer;
318+extern const AVInputFormat ff_pcm_vidc_demuxer;
319+extern const AVOutputFormat ff_pcm_vidc_muxer;
320+extern const AVInputFormat ff_pcm_f64be_demuxer;
321+extern const AVOutputFormat ff_pcm_f64be_muxer;
322+extern const AVInputFormat ff_pcm_f64le_demuxer;
323+extern const AVOutputFormat ff_pcm_f64le_muxer;
324+extern const AVInputFormat ff_pcm_f32be_demuxer;
325+extern const AVOutputFormat ff_pcm_f32be_muxer;
326+extern const AVInputFormat ff_pcm_f32le_demuxer;
327+extern const AVOutputFormat ff_pcm_f32le_muxer;
328+extern const AVInputFormat ff_pcm_s32be_demuxer;
329+extern const AVOutputFormat ff_pcm_s32be_muxer;
330+extern const AVInputFormat ff_pcm_s32le_demuxer;
331+extern const AVOutputFormat ff_pcm_s32le_muxer;
332+extern const AVInputFormat ff_pcm_s24be_demuxer;
333+extern const AVOutputFormat ff_pcm_s24be_muxer;
334+extern const AVInputFormat ff_pcm_s24le_demuxer;
335+extern const AVOutputFormat ff_pcm_s24le_muxer;
336+extern const AVInputFormat ff_pcm_s16be_demuxer;
337+extern const AVOutputFormat ff_pcm_s16be_muxer;
338+extern const AVInputFormat ff_pcm_s16le_demuxer;
339+extern const AVOutputFormat ff_pcm_s16le_muxer;
340+extern const AVInputFormat ff_pcm_s8_demuxer;
341+extern const AVOutputFormat ff_pcm_s8_muxer;
342+extern const AVInputFormat ff_pcm_u32be_demuxer;
343+extern const AVOutputFormat ff_pcm_u32be_muxer;
344+extern const AVInputFormat ff_pcm_u32le_demuxer;
345+extern const AVOutputFormat ff_pcm_u32le_muxer;
346+extern const AVInputFormat ff_pcm_u24be_demuxer;
347+extern const AVOutputFormat ff_pcm_u24be_muxer;
348+extern const AVInputFormat ff_pcm_u24le_demuxer;
349+extern const AVOutputFormat ff_pcm_u24le_muxer;
350+extern const AVInputFormat ff_pcm_u16be_demuxer;
351+extern const AVOutputFormat ff_pcm_u16be_muxer;
352+extern const AVInputFormat ff_pcm_u16le_demuxer;
353+extern const AVOutputFormat ff_pcm_u16le_muxer;
354+extern const AVInputFormat ff_pcm_u8_demuxer;
355+extern const AVOutputFormat ff_pcm_u8_muxer;
356+extern const AVInputFormat ff_pjs_demuxer;
357+extern const AVInputFormat ff_pmp_demuxer;
358+extern const AVInputFormat ff_pp_bnk_demuxer;
359+extern const AVOutputFormat ff_psp_muxer;
360+extern const AVInputFormat ff_pva_demuxer;
361+extern const AVInputFormat ff_pvf_demuxer;
362+extern const AVInputFormat ff_qcp_demuxer;
363+extern const AVInputFormat ff_r3d_demuxer;
364+extern const AVInputFormat ff_rawvideo_demuxer;
365+extern const AVOutputFormat ff_rawvideo_muxer;
366+extern const AVInputFormat ff_realtext_demuxer;
367+extern const AVInputFormat ff_redspark_demuxer;
368+extern const AVInputFormat ff_rl2_demuxer;
369+extern const AVInputFormat ff_rm_demuxer;
370+extern const AVOutputFormat ff_rm_muxer;
371+extern const AVInputFormat ff_roq_demuxer;
372+extern const AVOutputFormat ff_roq_muxer;
373+extern const AVInputFormat ff_rpl_demuxer;
374+extern const AVInputFormat ff_rsd_demuxer;
375+extern const AVInputFormat ff_rso_demuxer;
376+extern const AVOutputFormat ff_rso_muxer;
377+extern const AVInputFormat ff_rtp_demuxer;
378+extern const AVOutputFormat ff_rtp_muxer;
379+extern const AVOutputFormat ff_rtp_mpegts_muxer;
380+extern const AVInputFormat ff_rtsp_demuxer;
381+extern const AVOutputFormat ff_rtsp_muxer;
382+extern const AVInputFormat ff_s337m_demuxer;
383+extern const AVInputFormat ff_sami_demuxer;
384+extern const AVInputFormat ff_sap_demuxer;
385+extern const AVOutputFormat ff_sap_muxer;
386+extern const AVInputFormat ff_sbc_demuxer;
387+extern const AVOutputFormat ff_sbc_muxer;
388+extern const AVInputFormat ff_sbg_demuxer;
389+extern const AVInputFormat ff_scc_demuxer;
390+extern const AVOutputFormat ff_scc_muxer;
391+extern const AVInputFormat ff_sdp_demuxer;
392+extern const AVInputFormat ff_sdr2_demuxer;
393+extern const AVInputFormat ff_sds_demuxer;
394+extern const AVInputFormat ff_sdx_demuxer;
395+extern const AVInputFormat ff_segafilm_demuxer;
396+extern const AVOutputFormat ff_segafilm_muxer;
397+extern const AVOutputFormat ff_segment_muxer;
398+extern const AVOutputFormat ff_stream_segment_muxer;
399+extern const AVInputFormat ff_ser_demuxer;
400+extern const AVInputFormat ff_sga_demuxer;
401+extern const AVInputFormat ff_shorten_demuxer;
402+extern const AVInputFormat ff_siff_demuxer;
403+extern const AVInputFormat ff_simbiosis_imx_demuxer;
404+extern const AVInputFormat ff_sln_demuxer;
405+extern const AVInputFormat ff_smacker_demuxer;
406+extern const AVInputFormat ff_smjpeg_demuxer;
407+extern const AVOutputFormat ff_smjpeg_muxer;
408+extern const AVOutputFormat ff_smoothstreaming_muxer;
409+extern const AVInputFormat ff_smush_demuxer;
410+extern const AVInputFormat ff_sol_demuxer;
411+extern const AVInputFormat ff_sox_demuxer;
412+extern const AVOutputFormat ff_sox_muxer;
413+extern const AVOutputFormat ff_spx_muxer;
414+extern const AVInputFormat ff_spdif_demuxer;
415+extern const AVOutputFormat ff_spdif_muxer;
416+extern const AVInputFormat ff_srt_demuxer;
417+extern const AVOutputFormat ff_srt_muxer;
418+extern const AVInputFormat ff_str_demuxer;
419+extern const AVInputFormat ff_stl_demuxer;
420+extern const AVOutputFormat ff_streamhash_muxer;
421+extern const AVInputFormat ff_subviewer1_demuxer;
422+extern const AVInputFormat ff_subviewer_demuxer;
423+extern const AVInputFormat ff_sup_demuxer;
424+extern const AVOutputFormat ff_sup_muxer;
425+extern const AVInputFormat ff_svag_demuxer;
426+extern const AVInputFormat ff_svs_demuxer;
427+extern const AVInputFormat ff_swf_demuxer;
428+extern const AVOutputFormat ff_swf_muxer;
429+extern const AVInputFormat ff_tak_demuxer;
430+extern const AVOutputFormat ff_tee_muxer;
431+extern const AVInputFormat ff_tedcaptions_demuxer;
432+extern const AVOutputFormat ff_tg2_muxer;
433+extern const AVOutputFormat ff_tgp_muxer;
434+extern const AVInputFormat ff_thp_demuxer;
435+extern const AVInputFormat ff_threedostr_demuxer;
436+extern const AVInputFormat ff_tiertexseq_demuxer;
437+extern const AVOutputFormat ff_mkvtimestamp_v2_muxer;
438+extern const AVInputFormat ff_tmv_demuxer;
439+extern const AVInputFormat ff_truehd_demuxer;
440+extern const AVOutputFormat ff_truehd_muxer;
441+extern const AVInputFormat ff_tta_demuxer;
442+extern const AVOutputFormat ff_tta_muxer;
443+extern const AVOutputFormat ff_ttml_muxer;
444+extern const AVInputFormat ff_txd_demuxer;
445+extern const AVInputFormat ff_tty_demuxer;
446+extern const AVInputFormat ff_ty_demuxer;
447+extern const AVOutputFormat ff_uncodedframecrc_muxer;
448+extern const AVInputFormat ff_v210_demuxer;
449+extern const AVInputFormat ff_v210x_demuxer;
450+extern const AVInputFormat ff_vag_demuxer;
451+extern const AVInputFormat ff_vc1_demuxer;
452+extern const AVOutputFormat ff_vc1_muxer;
453+extern const AVInputFormat ff_vc1t_demuxer;
454+extern const AVOutputFormat ff_vc1t_muxer;
455+extern const AVInputFormat ff_vividas_demuxer;
456+extern const AVInputFormat ff_vivo_demuxer;
457+extern const AVInputFormat ff_vmd_demuxer;
458+extern const AVInputFormat ff_vobsub_demuxer;
459+extern const AVInputFormat ff_voc_demuxer;
460+extern const AVOutputFormat ff_voc_muxer;
461+extern const AVInputFormat ff_vpk_demuxer;
462+extern const AVInputFormat ff_vplayer_demuxer;
463+extern const AVInputFormat ff_vqf_demuxer;
464+extern const AVInputFormat ff_w64_demuxer;
465+extern const AVOutputFormat ff_w64_muxer;
466+extern const AVInputFormat ff_wav_demuxer;
467+extern const AVOutputFormat ff_wav_muxer;
468+extern const AVInputFormat ff_wc3_demuxer;
469+extern const AVOutputFormat ff_webm_muxer;
470+extern const AVInputFormat ff_webm_dash_manifest_demuxer;
471+extern const AVOutputFormat ff_webm_dash_manifest_muxer;
472+extern const AVOutputFormat ff_webm_chunk_muxer;
473+extern const AVOutputFormat ff_webp_muxer;
474+extern const AVInputFormat ff_webvtt_demuxer;
475+extern const AVOutputFormat ff_webvtt_muxer;
476+extern const AVInputFormat ff_wsaud_demuxer;
477+extern const AVOutputFormat ff_wsaud_muxer;
478+extern const AVInputFormat ff_wsd_demuxer;
479+extern const AVInputFormat ff_wsvqa_demuxer;
480+extern const AVInputFormat ff_wtv_demuxer;
481+extern const AVOutputFormat ff_wtv_muxer;
482+extern const AVInputFormat ff_wve_demuxer;
483+extern const AVInputFormat ff_wv_demuxer;
484+extern const AVOutputFormat ff_wv_muxer;
485+extern const AVInputFormat ff_xa_demuxer;
486+extern const AVInputFormat ff_xbin_demuxer;
487+extern const AVInputFormat ff_xmv_demuxer;
488+extern const AVInputFormat ff_xvag_demuxer;
489+extern const AVInputFormat ff_xwma_demuxer;
490+extern const AVInputFormat ff_yop_demuxer;
491+extern const AVInputFormat ff_yuv4mpegpipe_demuxer;
492+extern const AVOutputFormat ff_yuv4mpegpipe_muxer;
493493 /* image demuxers */
494−extern AVInputFormat ff_image_bmp_pipe_demuxer;
495−extern AVInputFormat ff_image_cri_pipe_demuxer;
496−extern AVInputFormat ff_image_dds_pipe_demuxer;
497−extern AVInputFormat ff_image_dpx_pipe_demuxer;
498−extern AVInputFormat ff_image_exr_pipe_demuxer;
499−extern AVInputFormat ff_image_gif_pipe_demuxer;
500−extern AVInputFormat ff_image_j2k_pipe_demuxer;
501−extern AVInputFormat ff_image_jpeg_pipe_demuxer;
502−extern AVInputFormat ff_image_jpegls_pipe_demuxer;
503−extern AVInputFormat ff_image_pam_pipe_demuxer;
504−extern AVInputFormat ff_image_pbm_pipe_demuxer;
505−extern AVInputFormat ff_image_pcx_pipe_demuxer;
506−extern AVInputFormat ff_image_pgmyuv_pipe_demuxer;
507−extern AVInputFormat ff_image_pgm_pipe_demuxer;
508−extern AVInputFormat ff_image_pgx_pipe_demuxer;
509−extern AVInputFormat ff_image_photocd_pipe_demuxer;
510−extern AVInputFormat ff_image_pictor_pipe_demuxer;
511−extern AVInputFormat ff_image_png_pipe_demuxer;
512−extern AVInputFormat ff_image_ppm_pipe_demuxer;
513−extern AVInputFormat ff_image_psd_pipe_demuxer;
514−extern AVInputFormat ff_image_qdraw_pipe_demuxer;
515−extern AVInputFormat ff_image_sgi_pipe_demuxer;
516−extern AVInputFormat ff_image_svg_pipe_demuxer;
517−extern AVInputFormat ff_image_sunrast_pipe_demuxer;
518−extern AVInputFormat ff_image_tiff_pipe_demuxer;
519−extern AVInputFormat ff_image_webp_pipe_demuxer;
520−extern AVInputFormat ff_image_xbm_pipe_demuxer;
521−extern AVInputFormat ff_image_xpm_pipe_demuxer;
522−extern AVInputFormat ff_image_xwd_pipe_demuxer;
494+extern const AVInputFormat ff_image_bmp_pipe_demuxer;
495+extern const AVInputFormat ff_image_cri_pipe_demuxer;
496+extern const AVInputFormat ff_image_dds_pipe_demuxer;
497+extern const AVInputFormat ff_image_dpx_pipe_demuxer;
498+extern const AVInputFormat ff_image_exr_pipe_demuxer;
499+extern const AVInputFormat ff_image_gif_pipe_demuxer;
500+extern const AVInputFormat ff_image_j2k_pipe_demuxer;
501+extern const AVInputFormat ff_image_jpeg_pipe_demuxer;
502+extern const AVInputFormat ff_image_jpegls_pipe_demuxer;
503+extern const AVInputFormat ff_image_pam_pipe_demuxer;
504+extern const AVInputFormat ff_image_pbm_pipe_demuxer;
505+extern const AVInputFormat ff_image_pcx_pipe_demuxer;
506+extern const AVInputFormat ff_image_pgmyuv_pipe_demuxer;
507+extern const AVInputFormat ff_image_pgm_pipe_demuxer;
508+extern const AVInputFormat ff_image_pgx_pipe_demuxer;
509+extern const AVInputFormat ff_image_photocd_pipe_demuxer;
510+extern const AVInputFormat ff_image_pictor_pipe_demuxer;
511+extern const AVInputFormat ff_image_png_pipe_demuxer;
512+extern const AVInputFormat ff_image_ppm_pipe_demuxer;
513+extern const AVInputFormat ff_image_psd_pipe_demuxer;
514+extern const AVInputFormat ff_image_qdraw_pipe_demuxer;
515+extern const AVInputFormat ff_image_sgi_pipe_demuxer;
516+extern const AVInputFormat ff_image_svg_pipe_demuxer;
517+extern const AVInputFormat ff_image_sunrast_pipe_demuxer;
518+extern const AVInputFormat ff_image_tiff_pipe_demuxer;
519+extern const AVInputFormat ff_image_webp_pipe_demuxer;
520+extern const AVInputFormat ff_image_xbm_pipe_demuxer;
521+extern const AVInputFormat ff_image_xpm_pipe_demuxer;
522+extern const AVInputFormat ff_image_xwd_pipe_demuxer;
523523
524524 /* external libraries */
525−extern AVOutputFormat ff_chromaprint_muxer;
526−extern AVInputFormat ff_libgme_demuxer;
527−extern AVInputFormat ff_libmodplug_demuxer;
528−extern AVInputFormat ff_libopenmpt_demuxer;
529−extern AVInputFormat ff_vapoursynth_demuxer;
525+extern const AVOutputFormat ff_chromaprint_muxer;
526+extern const AVInputFormat ff_libgme_demuxer;
527+extern const AVInputFormat ff_libmodplug_demuxer;
528+extern const AVInputFormat ff_libopenmpt_demuxer;
529+extern const AVInputFormat ff_vapoursynth_demuxer;
530530
531531 #include "libavformat/muxer_list.c"
532532 #include "libavformat/demuxer_list.c"
libavformat/alp.c+2−2
@@ -163,7 +163,7 @@ static int alp_seek(AVFormatContext *s, int stream_index, · 162 unmodified lines
163163 return avio_seek(s->pb, hdr->header_size + 8, SEEK_SET);
164164 }
165165
166−AVInputFormat ff_alp_demuxer = {
166+const AVInputFormat ff_alp_demuxer = {
167167 .name = "alp",
168168 .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"),
169169 .priv_data_size = sizeof(ALPHeader),
@@ -291,7 +291,7 @@ static const AVClass alp_muxer_class = { · 121 unmodified lines
291291 .version = LIBAVUTIL_VERSION_INT
292292 };
293293
294−AVOutputFormat ff_alp_muxer = {
294+const AVOutputFormat ff_alp_muxer = {
295295 .name = "alp",
296296 .long_name = NULL_IF_CONFIG_SMALL("LEGO Racers ALP"),
297297 .extensions = "tun,pcm",
libavformat/amr.c+4−4
@@ -159,7 +159,7 @@ static int amr_read_packet(AVFormatContext *s, AVPacket *pkt) · 158 unmodified lines
159159 }
160160
161161 #if CONFIG_AMR_DEMUXER
162−AVInputFormat ff_amr_demuxer = {
162+const AVInputFormat ff_amr_demuxer = {
163163 .name = "amr",
164164 .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"),
165165 .priv_data_size = sizeof(AMRContext),
@@ -215,7 +215,7 @@ static int amrnb_read_header(AVFormatContext *s) · 49 unmodified lines
215215 return 0;
216216 }
217217
218−AVInputFormat ff_amrnb_demuxer = {
218+const AVInputFormat ff_amrnb_demuxer = {
219219 .name = "amrnb",
220220 .long_name = NULL_IF_CONFIG_SMALL("raw AMR-NB"),
221221 .priv_data_size = sizeof(AMRContext),
@@ -271,7 +271,7 @@ static int amrwb_read_header(AVFormatContext *s) · 49 unmodified lines
271271 return 0;
272272 }
273273
274−AVInputFormat ff_amrwb_demuxer = {
274+const AVInputFormat ff_amrwb_demuxer = {
275275 .name = "amrwb",
276276 .long_name = NULL_IF_CONFIG_SMALL("raw AMR-WB"),
277277 .priv_data_size = sizeof(AMRContext),
@@ -283,7 +283,7 @@ AVInputFormat ff_amrwb_demuxer = { · 5 unmodified lines
283283 #endif
284284
285285 #if CONFIG_AMR_MUXER
286−AVOutputFormat ff_amr_muxer = {
286+const AVOutputFormat ff_amr_muxer = {
287287 .name = "amr",
288288 .long_name = NULL_IF_CONFIG_SMALL("3GPP AMR"),
289289 .mime_type = "audio/amr",
libavformat/amvenc.c+1−1
@@ -404,7 +404,7 @@ static int amv_write_trailer(AVFormatContext *s) · 403 unmodified lines
404404 return 0;
405405 }
406406
407−AVOutputFormat ff_amv_muxer = {
407+const AVOutputFormat ff_amv_muxer = {
408408 .name = "amv",
409409 .long_name = NULL_IF_CONFIG_SMALL("AMV"),
410410 .mime_type = "video/amv",
libavformat/anm.c+1−1
@@ -214,7 +214,7 @@ repeat: · 213 unmodified lines
214214 return 0;
215215 }
216216
217−AVInputFormat ff_anm_demuxer = {
217+const AVInputFormat ff_anm_demuxer = {
218218 .name = "anm",
219219 .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
220220 .priv_data_size = sizeof(AnmDemuxContext),
libavformat/apc.c+1−1
@@ -83,7 +83,7 @@ static int apc_read_packet(AVFormatContext *s, AVPacket *pkt) · 82 unmodified lines
8383 return 0;
8484 }
8585
86−AVInputFormat ff_apc_demuxer = {
86+const AVInputFormat ff_apc_demuxer = {
8787 .name = "apc",
8888 .long_name = NULL_IF_CONFIG_SMALL("CRYO APC"),
8989 .read_probe = apc_probe,
libavformat/ape.c+1−1
@@ -450,7 +450,7 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 449 unmodified lines
450450 return 0;
451451 }
452452
453−AVInputFormat ff_ape_demuxer = {
453+const AVInputFormat ff_ape_demuxer = {
454454 .name = "ape",
455455 .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
456456 .priv_data_size = sizeof(APEContext),
libavformat/apm.c+2−2
@@ -201,7 +201,7 @@ static int apm_read_packet(AVFormatContext *s, AVPacket *pkt) · 200 unmodified lines
201201 return 0;
202202 }
203203
204−AVInputFormat ff_apm_demuxer = {
204+const AVInputFormat ff_apm_demuxer = {
205205 .name = "apm",
206206 .long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"),
207207 .read_probe = apm_probe,
@@ -303,7 +303,7 @@ static int apm_write_trailer(AVFormatContext *s) · 95 unmodified lines
303303 return 0;
304304 }
305305
306−AVOutputFormat ff_apm_muxer = {
306+const AVOutputFormat ff_apm_muxer = {
307307 .name = "apm",
308308 .long_name = NULL_IF_CONFIG_SMALL("Ubisoft Rayman 2 APM"),
309309 .extensions = "apm",
libavformat/apngdec.c+1−1
@@ -421,7 +421,7 @@ static const AVClass demuxer_class = { · 420 unmodified lines
421421 .category = AV_CLASS_CATEGORY_DEMUXER,
422422 };
423423
424−AVInputFormat ff_apng_demuxer = {
424+const AVInputFormat ff_apng_demuxer = {
425425 .name = "apng",
426426 .long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"),
427427 .priv_data_size = sizeof(APNGDemuxContext),
libavformat/apngenc.c+1−1
@@ -294,7 +294,7 @@ static const AVClass apng_muxer_class = { · 293 unmodified lines
294294 .option = options,
295295 };
296296
297−AVOutputFormat ff_apng_muxer = {
297+const AVOutputFormat ff_apng_muxer = {
298298 .name = "apng",
299299 .long_name = NULL_IF_CONFIG_SMALL("Animated Portable Network Graphics"),
300300 .mime_type = "image/png",
libavformat/aptxdec.c+2−2
@@ -95,7 +95,7 @@ static const AVClass aptx_demuxer_class = { · 94 unmodified lines
9595 .version = LIBAVUTIL_VERSION_INT,
9696 };
9797
98−AVInputFormat ff_aptx_demuxer = {
98+const AVInputFormat ff_aptx_demuxer = {
9999 .name = "aptx",
100100 .long_name = NULL_IF_CONFIG_SMALL("raw aptX"),
101101 .extensions = "aptx",
@@ -115,7 +115,7 @@ static const AVClass aptx_hd_demuxer_class = { · 13 unmodified lines
115115 .version = LIBAVUTIL_VERSION_INT,
116116 };
117117
118−AVInputFormat ff_aptx_hd_demuxer = {
118+const AVInputFormat ff_aptx_hd_demuxer = {
119119 .name = "aptx_hd",
120120 .long_name = NULL_IF_CONFIG_SMALL("raw aptX HD"),
121121 .extensions = "aptxhd",
libavformat/aqtitledec.c+1−1
@@ -137,7 +137,7 @@ static const AVClass aqt_class = { · 136 unmodified lines
137137 .version = LIBAVUTIL_VERSION_INT,
138138 };
139139
140−AVInputFormat ff_aqtitle_demuxer = {
140+const AVInputFormat ff_aqtitle_demuxer = {
141141 .name = "aqtitle",
142142 .long_name = NULL_IF_CONFIG_SMALL("AQTitle subtitles"),
143143 .priv_data_size = sizeof(AQTitleContext),
libavformat/argo_asf.c+2−2
@@ -271,7 +271,7 @@ static int argo_asf_seek(AVFormatContext *s, int stream_index, · 270 unmodified lines
271271 * - Argonaut Sound File?
272272 * - Audio Stream File?
273273 */
274−AVInputFormat ff_argo_asf_demuxer = {
274+const AVInputFormat ff_argo_asf_demuxer = {
275275 .name = "argo_asf",
276276 .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"),
277277 .priv_data_size = sizeof(ArgoASFDemuxContext),
@@ -468,7 +468,7 @@ static const AVClass argo_asf_muxer_class = { · 190 unmodified lines
468468 .version = LIBAVUTIL_VERSION_INT
469469 };
470470
471−AVOutputFormat ff_argo_asf_muxer = {
471+const AVOutputFormat ff_argo_asf_muxer = {
472472 .name = "argo_asf",
473473 .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games ASF"),
474474 /*
libavformat/argo_brp.c+1−1
@@ -413,7 +413,7 @@ static int argo_brp_read_packet(AVFormatContext *s, AVPacket *pkt) · 412 unmodified lines
413413 return 0;
414414 }
415415
416−AVInputFormat ff_argo_brp_demuxer = {
416+const AVInputFormat ff_argo_brp_demuxer = {
417417 .name = "argo_brp",
418418 .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games BRP"),
419419 .priv_data_size = sizeof(ArgoBRPDemuxContext),
libavformat/asfdec_f.c+1−1
@@ -1606,7 +1606,7 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, · 1605 unmodified lines
16061606 return 0;
16071607 }
16081608
1609−AVInputFormat ff_asf_demuxer = {
1609+const AVInputFormat ff_asf_demuxer = {
16101610 .name = "asf",
16111611 .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
16121612 .priv_data_size = sizeof(ASFContext),
libavformat/asfdec_o.c+1−1
@@ -1662,7 +1662,7 @@ failed: · 1661 unmodified lines
16621662 return ret;
16631663 }
16641664
1665−AVInputFormat ff_asf_o_demuxer = {
1665+const AVInputFormat ff_asf_o_demuxer = {
16661666 .name = "asf_o",
16671667 .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
16681668 .priv_data_size = sizeof(ASFContext),
libavformat/asfenc.c+2−2
@@ -1162,7 +1162,7 @@ static const AVClass asf_muxer_class = { · 1161 unmodified lines
11621162 .version = LIBAVUTIL_VERSION_INT,
11631163 };
11641164
1165−AVOutputFormat ff_asf_muxer = {
1165+const AVOutputFormat ff_asf_muxer = {
11661166 .name = "asf",
11671167 .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
11681168 .mime_type = "video/x-ms-asf",
@@ -1187,7 +1187,7 @@ static const AVClass asf_stream_muxer_class = { · 18 unmodified lines
11871187 .version = LIBAVUTIL_VERSION_INT,
11881188 };
11891189
1190−AVOutputFormat ff_asf_stream_muxer = {
1190+const AVOutputFormat ff_asf_stream_muxer = {
11911191 .name = "asf_stream",
11921192 .long_name = NULL_IF_CONFIG_SMALL("ASF (Advanced / Active Streaming Format)"),
11931193 .mime_type = "video/x-ms-asf",
libavformat/assdec.c+1−1
@@ -182,7 +182,7 @@ static int ass_read_seek(AVFormatContext *s, int stream_index, · 181 unmodified lines
182182 min_ts, ts, max_ts, flags);
183183 }
184184
185−AVInputFormat ff_ass_demuxer = {
185+const AVInputFormat ff_ass_demuxer = {
186186 .name = "ass",
187187 .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
188188 .priv_data_size = sizeof(ASSContext),
libavformat/assenc.c+1−1
@@ -226,7 +226,7 @@ static const AVClass ass_class = { · 225 unmodified lines
226226 .version = LIBAVUTIL_VERSION_INT,
227227 };
228228
229−AVOutputFormat ff_ass_muxer = {
229+const AVOutputFormat ff_ass_muxer = {
230230 .name = "ass",
231231 .long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
232232 .mime_type = "text/x-ass",
libavformat/astdec.c+1−1
@@ -110,7 +110,7 @@ static int ast_read_packet(AVFormatContext *s, AVPacket *pkt) · 109 unmodified lines
110110 return ret;
111111 }
112112
113−AVInputFormat ff_ast_demuxer = {
113+const AVInputFormat ff_ast_demuxer = {
114114 .name = "ast",
115115 .long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
116116 .read_probe = ast_probe,
libavformat/astenc.c+1−1
@@ -196,7 +196,7 @@ static const AVClass ast_muxer_class = { · 195 unmodified lines
196196 .version = LIBAVUTIL_VERSION_INT,
197197 };
198198
199−AVOutputFormat ff_ast_muxer = {
199+const AVOutputFormat ff_ast_muxer = {
200200 .name = "ast",
201201 .long_name = NULL_IF_CONFIG_SMALL("AST (Audio Stream)"),
202202 .extensions = "ast",
libavformat/au.c+2−2
@@ -226,7 +226,7 @@ static int au_read_header(AVFormatContext *s) · 225 unmodified lines
226226 return 0;
227227 }
228228
229−AVInputFormat ff_au_demuxer = {
229+const AVInputFormat ff_au_demuxer = {
230230 .name = "au",
231231 .long_name = NULL_IF_CONFIG_SMALL("Sun AU"),
232232 .read_probe = au_probe,
@@ -328,7 +328,7 @@ static int au_write_trailer(AVFormatContext *s) · 95 unmodified lines
328328 return 0;
329329 }
330330
331−AVOutputFormat ff_au_muxer = {
331+const AVOutputFormat ff_au_muxer = {
332332 .name = "au",
333333 .long_name = NULL_IF_CONFIG_SMALL("Sun AU"),
334334 .mime_type = "audio/basic",
libavformat/av1dec.c+2−2
@@ -281,7 +281,7 @@ static const AVClass annexb_demuxer_class = { · 280 unmodified lines
281281 .version = LIBAVUTIL_VERSION_INT,
282282 };
283283
284−AVInputFormat ff_av1_demuxer = {
284+const AVInputFormat ff_av1_demuxer = {
285285 .name = "av1",
286286 .long_name = NULL_IF_CONFIG_SMALL("AV1 Annex B"),
287287 .priv_data_size = sizeof(AnnexBContext),
@@ -468,7 +468,7 @@ static const AVClass obu_demuxer_class = { · 180 unmodified lines
468468 .version = LIBAVUTIL_VERSION_INT,
469469 };
470470
471−AVInputFormat ff_obu_demuxer = {
471+const AVInputFormat ff_obu_demuxer = {
472472 .name = "obu",
473473 .long_name = NULL_IF_CONFIG_SMALL("AV1 low overhead OBU"),
474474 .priv_data_size = sizeof(ObuContext),
libavformat/avidec.c+1−1
@@ -1969,7 +1969,7 @@ static int avi_probe(const AVProbeData *p) · 1968 unmodified lines
19691969 return 0;
19701970 }
19711971
1972−AVInputFormat ff_avi_demuxer = {
1972+const AVInputFormat ff_avi_demuxer = {
19731973 .name = "avi",
19741974 .long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"),
19751975 .priv_data_size = sizeof(AVIContext),
libavformat/avienc.c+1−1
@@ -1011,7 +1011,7 @@ static const AVClass avi_muxer_class = { · 1010 unmodified lines
10111011 .version = LIBAVUTIL_VERSION_INT,
10121012 };
10131013
1014−AVOutputFormat ff_avi_muxer = {
1014+const AVOutputFormat ff_avi_muxer = {
10151015 .name = "avi",
10161016 .long_name = NULL_IF_CONFIG_SMALL("AVI (Audio Video Interleaved)"),
10171017 .mime_type = "video/x-msvideo",
libavformat/avisynth.c+1−1
@@ -878,7 +878,7 @@ static int avisynth_read_seek(AVFormatContext *s, int stream_index, · 877 unmodified lines
878878 return 0;
879879 }
880880
881−AVInputFormat ff_avisynth_demuxer = {
881+const AVInputFormat ff_avisynth_demuxer = {
882882 .name = "avisynth",
883883 .long_name = NULL_IF_CONFIG_SMALL("AviSynth script"),
884884 .priv_data_size = sizeof(AviSynthContext),
libavformat/avr.c+1−1
@@ -87,7 +87,7 @@ static int avr_read_header(AVFormatContext *s) · 86 unmodified lines
8787 return 0;
8888 }
8989
90−AVInputFormat ff_avr_demuxer = {
90+const AVInputFormat ff_avr_demuxer = {
9191 .name = "avr",
9292 .long_name = NULL_IF_CONFIG_SMALL("AVR (Audio Visual Research)"),
9393 .read_probe = avr_probe,
libavformat/avs.c+1−1
@@ -224,7 +224,7 @@ static int avs_read_packet(AVFormatContext * s, AVPacket * pkt) · 223 unmodified lines
224224 }
225225 }
226226
227−AVInputFormat ff_avs_demuxer = {
227+const AVInputFormat ff_avs_demuxer = {
228228 .name = "avs",
229229 .long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Creature Shock"),
230230 .priv_data_size = sizeof(AvsFormat),
libavformat/bethsoftvid.c+1−1
@@ -291,7 +291,7 @@ static int vid_read_packet(AVFormatContext *s, · 290 unmodified lines
291291 }
292292 }
293293
294−AVInputFormat ff_bethsoftvid_demuxer = {
294+const AVInputFormat ff_bethsoftvid_demuxer = {
295295 .name = "bethsoftvid",
296296 .long_name = NULL_IF_CONFIG_SMALL("Bethesda Softworks VID"),
297297 .priv_data_size = sizeof(BVID_DemuxContext),
libavformat/bfi.c+1−1
@@ -174,7 +174,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt) · 173 unmodified lines
174174 return ret;
175175 }
176176
177−AVInputFormat ff_bfi_demuxer = {
177+const AVInputFormat ff_bfi_demuxer = {
178178 .name = "bfi",
179179 .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
180180 .priv_data_size = sizeof(BFIContext),
libavformat/bink.c+1−1
@@ -323,7 +323,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 322 unmodified lines
323323 return 0;
324324 }
325325
326−AVInputFormat ff_bink_demuxer = {
326+const AVInputFormat ff_bink_demuxer = {
327327 .name = "bink",
328328 .long_name = NULL_IF_CONFIG_SMALL("Bink"),
329329 .priv_data_size = sizeof(BinkDemuxContext),
libavformat/binka.c+1−1
@@ -89,7 +89,7 @@ static int binka_read_packet(AVFormatContext *s, AVPacket *pkt) · 88 unmodified lines
8989 return 0;
9090 }
9191
92−AVInputFormat ff_binka_demuxer = {
92+const AVInputFormat ff_binka_demuxer = {
9393 .name = "binka",
9494 .long_name = NULL_IF_CONFIG_SMALL("Bink Audio"),
9595 .read_probe = binka_probe,
libavformat/bintext.c+4−4
@@ -394,7 +394,7 @@ static const AVOption options[] = { · 393 unmodified lines
394394 }}
395395
396396 #if CONFIG_BINTEXT_DEMUXER
397−AVInputFormat ff_bintext_demuxer = {
397+const AVInputFormat ff_bintext_demuxer = {
398398 .name = "bin",
399399 .long_name = NULL_IF_CONFIG_SMALL("Binary text"),
400400 .priv_data_size = sizeof(BinDemuxContext),
@@ -406,7 +406,7 @@ AVInputFormat ff_bintext_demuxer = { · 5 unmodified lines
406406 #endif
407407
408408 #if CONFIG_XBIN_DEMUXER
409−AVInputFormat ff_xbin_demuxer = {
409+const AVInputFormat ff_xbin_demuxer = {
410410 .name = "xbin",
411411 .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text (XBIN)"),
412412 .priv_data_size = sizeof(BinDemuxContext),
@@ -418,7 +418,7 @@ AVInputFormat ff_xbin_demuxer = { · 5 unmodified lines
418418 #endif
419419
420420 #if CONFIG_ADF_DEMUXER
421−AVInputFormat ff_adf_demuxer = {
421+const AVInputFormat ff_adf_demuxer = {
422422 .name = "adf",
423423 .long_name = NULL_IF_CONFIG_SMALL("Artworx Data Format"),
424424 .priv_data_size = sizeof(BinDemuxContext),
@@ -430,7 +430,7 @@ AVInputFormat ff_adf_demuxer = { · 5 unmodified lines
430430 #endif
431431
432432 #if CONFIG_IDF_DEMUXER
433−AVInputFormat ff_idf_demuxer = {
433+const AVInputFormat ff_idf_demuxer = {
434434 .name = "idf",
435435 .long_name = NULL_IF_CONFIG_SMALL("iCE Draw File"),
436436 .priv_data_size = sizeof(BinDemuxContext),
libavformat/bit.c+2−2
@@ -109,7 +109,7 @@ static int read_packet(AVFormatContext *s, · 108 unmodified lines
109109 return 0;
110110 }
111111
112−AVInputFormat ff_bit_demuxer = {
112+const AVInputFormat ff_bit_demuxer = {
113113 .name = "bit",
114114 .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
115115 .read_probe = probe,
@@ -155,7 +155,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 39 unmodified lines
155155 return 0;
156156 }
157157
158−AVOutputFormat ff_bit_muxer = {
158+const AVOutputFormat ff_bit_muxer = {
159159 .name = "bit",
160160 .long_name = NULL_IF_CONFIG_SMALL("G.729 BIT file format"),
161161 .mime_type = "audio/bit",
libavformat/bmv.c+1−1
@@ -125,7 +125,7 @@ static int bmv_read_close(AVFormatContext *s) · 124 unmodified lines
125125 return 0;
126126 }
127127
128−AVInputFormat ff_bmv_demuxer = {
128+const AVInputFormat ff_bmv_demuxer = {
129129 .name = "bmv",
130130 .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV"),
131131 .priv_data_size = sizeof(BMVContext),
libavformat/boadec.c+1−1
@@ -75,7 +75,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 74 unmodified lines
7575 return av_get_packet(s->pb, pkt, st->codecpar->block_align);
7676 }
7777
78−AVInputFormat ff_boa_demuxer = {
78+const AVInputFormat ff_boa_demuxer = {
7979 .name = "boa",
8080 .long_name = NULL_IF_CONFIG_SMALL("Black Ops Audio"),
8181 .read_probe = probe,
libavformat/brstm.c+2−2
@@ -481,7 +481,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 480 unmodified lines
481481 return 0;
482482 }
483483
484−AVInputFormat ff_brstm_demuxer = {
484+const AVInputFormat ff_brstm_demuxer = {
485485 .name = "brstm",
486486 .long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),
487487 .priv_data_size = sizeof(BRSTMDemuxContext),
@@ -493,7 +493,7 @@ AVInputFormat ff_brstm_demuxer = { · 5 unmodified lines
493493 .extensions = "brstm",
494494 };
495495
496−AVInputFormat ff_bfstm_demuxer = {
496+const AVInputFormat ff_bfstm_demuxer = {
497497 .name = "bfstm",
498498 .long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),
499499 .priv_data_size = sizeof(BRSTMDemuxContext),
libavformat/c93.c+1−1
@@ -185,7 +185,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 184 unmodified lines
185185 return 0;
186186 }
187187
188−AVInputFormat ff_c93_demuxer = {
188+const AVInputFormat ff_c93_demuxer = {
189189 .name = "c93",
190190 .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
191191 .priv_data_size = sizeof(C93DemuxContext),
libavformat/cafdec.c+1−1
@@ -457,7 +457,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 456 unmodified lines
457457 return 0;
458458 }
459459
460−AVInputFormat ff_caf_demuxer = {
460+const AVInputFormat ff_caf_demuxer = {
461461 .name = "caf",
462462 .long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"),
463463 .priv_data_size = sizeof(CafContext),
libavformat/cafenc.c+1−1
@@ -263,7 +263,7 @@ static int caf_write_trailer(AVFormatContext *s) · 262 unmodified lines
263263 return 0;
264264 }
265265
266−AVOutputFormat ff_caf_muxer = {
266+const AVOutputFormat ff_caf_muxer = {
267267 .name = "caf",
268268 .long_name = NULL_IF_CONFIG_SMALL("Apple CAF (Core Audio Format)"),
269269 .mime_type = "audio/x-caf",
libavformat/cdg.c+1−1
@@ -67,7 +67,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 66 unmodified lines
6767 return ret;
6868 }
6969
70−AVInputFormat ff_cdg_demuxer = {
70+const AVInputFormat ff_cdg_demuxer = {
7171 .name = "cdg",
7272 .long_name = NULL_IF_CONFIG_SMALL("CD Graphics"),
7373 .read_header = read_header,
libavformat/cdxl.c+1−1
@@ -258,7 +258,7 @@ static const AVClass cdxl_demuxer_class = { · 257 unmodified lines
258258 .version = LIBAVUTIL_VERSION_INT,
259259 };
260260
261−AVInputFormat ff_cdxl_demuxer = {
261+const AVInputFormat ff_cdxl_demuxer = {
262262 .name = "cdxl",
263263 .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
264264 .priv_data_size = sizeof(CDXLDemuxContext),
libavformat/chromaprint.c+1−1
@@ -179,7 +179,7 @@ static const AVClass chromaprint_class = { · 178 unmodified lines
179179 .version = LIBAVUTIL_VERSION_INT,
180180 };
181181
182−AVOutputFormat ff_chromaprint_muxer = {
182+const AVOutputFormat ff_chromaprint_muxer = {
183183 .name = "chromaprint",
184184 .long_name = NULL_IF_CONFIG_SMALL("Chromaprint"),
185185 .priv_data_size = sizeof(ChromaprintMuxContext),
libavformat/cinedec.c+1−1
@@ -322,7 +322,7 @@ static int cine_read_seek(AVFormatContext *avctx, int stream_index, int64_t time · 321 unmodified lines
322322 return 0;
323323 }
324324
325−AVInputFormat ff_cine_demuxer = {
325+const AVInputFormat ff_cine_demuxer = {
326326 .name = "cine",
327327 .long_name = NULL_IF_CONFIG_SMALL("Phantom Cine"),
328328 .priv_data_size = sizeof(CineDemuxContext),
libavformat/codec2.c+3−3
@@ -300,7 +300,7 @@ static const AVClass codec2raw_demux_class = { · 299 unmodified lines
300300 };
301301
302302 #if CONFIG_CODEC2_DEMUXER
303−AVInputFormat ff_codec2_demuxer = {
303+const AVInputFormat ff_codec2_demuxer = {
304304 .name = "codec2",
305305 .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 demuxer"),
306306 .priv_data_size = sizeof(Codec2Context),
@@ -316,7 +316,7 @@ AVInputFormat ff_codec2_demuxer = { · 9 unmodified lines
316316 #endif
317317
318318 #if CONFIG_CODEC2_MUXER
319−AVOutputFormat ff_codec2_muxer = {
319+const AVOutputFormat ff_codec2_muxer = {
320320 .name = "codec2",
321321 .long_name = NULL_IF_CONFIG_SMALL("codec2 .c2 muxer"),
322322 .priv_data_size = sizeof(Codec2Context),
@@ -331,7 +331,7 @@ AVOutputFormat ff_codec2_muxer = { · 8 unmodified lines
331331 #endif
332332
333333 #if CONFIG_CODEC2RAW_DEMUXER
334−AVInputFormat ff_codec2raw_demuxer = {
334+const AVInputFormat ff_codec2raw_demuxer = {
335335 .name = "codec2raw",
336336 .long_name = NULL_IF_CONFIG_SMALL("raw codec2 demuxer"),
337337 .priv_data_size = sizeof(Codec2Context),
libavformat/concatdec.c+1−1
@@ -775,7 +775,7 @@ static const AVClass concat_class = { · 774 unmodified lines
775775 };
776776
777777
778−AVInputFormat ff_concat_demuxer = {
778+const AVInputFormat ff_concat_demuxer = {
779779 .name = "concat",
780780 .long_name = NULL_IF_CONFIG_SMALL("Virtual concatenation script"),
781781 .priv_data_size = sizeof(ConcatContext),
libavformat/crcenc.c+1−1
@@ -56,7 +56,7 @@ static int crc_write_trailer(struct AVFormatContext *s) · 55 unmodified lines
5656 return 0;
5757 }
5858
59−AVOutputFormat ff_crc_muxer = {
59+const AVOutputFormat ff_crc_muxer = {
6060 .name = "crc",
6161 .long_name = NULL_IF_CONFIG_SMALL("CRC testing"),
6262 .priv_data_size = sizeof(CRCState),
libavformat/dashdec.c+1−1
@@ -2397,7 +2397,7 @@ static const AVClass dash_class = { · 2396 unmodified lines
23972397 .version = LIBAVUTIL_VERSION_INT,
23982398 };
23992399
2400−AVInputFormat ff_dash_demuxer = {
2400+const AVInputFormat ff_dash_demuxer = {
24012401 .name = "dash",
24022402 .long_name = NULL_IF_CONFIG_SMALL("Dynamic Adaptive Streaming over HTTP"),
24032403 .priv_class = &dash_class,
libavformat/dashenc.c+1−1
@@ -2383,7 +2383,7 @@ static const AVClass dash_class = { · 2382 unmodified lines
23832383 .version = LIBAVUTIL_VERSION_INT,
23842384 };
23852385
2386−AVOutputFormat ff_dash_muxer = {
2386+const AVOutputFormat ff_dash_muxer = {
23872387 .name = "dash",
23882388 .long_name = NULL_IF_CONFIG_SMALL("DASH Muxer"),
23892389 .extensions = "mpd",
libavformat/dauddec.c+1−1
@@ -50,7 +50,7 @@ static int daud_packet(AVFormatContext *s, AVPacket *pkt) { · 49 unmodified lines
5050 return ret;
5151 }
5252
53−AVInputFormat ff_daud_demuxer = {
53+const AVInputFormat ff_daud_demuxer = {
5454 .name = "daud",
5555 .long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
5656 .read_header = daud_header,
libavformat/daudenc.c+1−1
@@ -42,7 +42,7 @@ static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 41 unmodified lines
4242 return 0;
4343 }
4444
45−AVOutputFormat ff_daud_muxer = {
45+const AVOutputFormat ff_daud_muxer = {
4646 .name = "daud",
4747 .long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio"),
4848 .extensions = "302",
libavformat/dcstr.c+1−1
@@ -78,7 +78,7 @@ static int dcstr_read_packet(AVFormatContext *s, AVPacket *pkt) · 77 unmodified lines
7878 return av_get_packet(s->pb, pkt, par->block_align);
7979 }
8080
81−AVInputFormat ff_dcstr_demuxer = {
81+const AVInputFormat ff_dcstr_demuxer = {
8282 .name = "dcstr",
8383 .long_name = NULL_IF_CONFIG_SMALL("Sega DC STR"),
8484 .read_probe = dcstr_probe,
libavformat/derf.c+1−1
@@ -68,7 +68,7 @@ static int derf_read_header(AVFormatContext *s) · 67 unmodified lines
6868 return 0;
6969 }
7070
71−AVInputFormat ff_derf_demuxer = {
71+const AVInputFormat ff_derf_demuxer = {
7272 .name = "derf",
7373 .long_name = NULL_IF_CONFIG_SMALL("Xilam DERF"),
7474 .read_probe = derf_probe,
libavformat/dfa.c+1−1
@@ -120,7 +120,7 @@ static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt) · 119 unmodified lines
120120 return 0;
121121 }
122122
123−AVInputFormat ff_dfa_demuxer = {
123+const AVInputFormat ff_dfa_demuxer = {
124124 .name = "dfa",
125125 .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
126126 .read_probe = dfa_probe,
libavformat/dhav.c+1−1
@@ -451,7 +451,7 @@ static int dhav_read_seek(AVFormatContext *s, int stream_index, · 450 unmodified lines
451451 return 0;
452452 }
453453
454−AVInputFormat ff_dhav_demuxer = {
454+const AVInputFormat ff_dhav_demuxer = {
455455 .name = "dhav",
456456 .long_name = NULL_IF_CONFIG_SMALL("Video DAV"),
457457 .priv_data_size = sizeof(DHAVContext),
libavformat/dsfdec.c+1−1
@@ -199,7 +199,7 @@ static int dsf_read_packet(AVFormatContext *s, AVPacket *pkt) · 198 unmodified lines
199199 return 0;
200200 }
201201
202−AVInputFormat ff_dsf_demuxer = {
202+const AVInputFormat ff_dsf_demuxer = {
203203 .name = "dsf",
204204 .long_name = NULL_IF_CONFIG_SMALL("DSD Stream File (DSF)"),
205205 .priv_data_size = sizeof(DSFContext),
libavformat/dsicin.c+1−1
@@ -223,7 +223,7 @@ static int cin_read_packet(AVFormatContext *s, AVPacket *pkt) · 222 unmodified lines
223223 return 0;
224224 }
225225
226−AVInputFormat ff_dsicin_demuxer = {
226+const AVInputFormat ff_dsicin_demuxer = {
227227 .name = "dsicin",
228228 .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN"),
229229 .priv_data_size = sizeof(CinDemuxContext),
libavformat/dss.c+1−1
@@ -354,7 +354,7 @@ static int dss_read_seek(AVFormatContext *s, int stream_index, · 353 unmodified lines
354354 }
355355
356356
357−AVInputFormat ff_dss_demuxer = {
357+const AVInputFormat ff_dss_demuxer = {
358358 .name = "dss",
359359 .long_name = NULL_IF_CONFIG_SMALL("Digital Speech Standard (DSS)"),
360360 .priv_data_size = sizeof(DSSDemuxContext),
libavformat/dtsdec.c+1−1
@@ -133,7 +133,7 @@ static int dts_probe(const AVProbeData *p) · 132 unmodified lines
133133 }
134134
135135 FF_RAW_DEMUXER_CLASS(dts)
136−AVInputFormat ff_dts_demuxer = {
136+const AVInputFormat ff_dts_demuxer = {
137137 .name = "dts",
138138 .long_name = NULL_IF_CONFIG_SMALL("raw DTS"),
139139 .read_probe = dts_probe,
libavformat/dtshddec.c+1−1
@@ -159,7 +159,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) · 158 unmodified lines
159159 return ret;
160160 }
161161
162−AVInputFormat ff_dtshd_demuxer = {
162+const AVInputFormat ff_dtshd_demuxer = {
163163 .name = "dtshd",
164164 .long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"),
165165 .priv_data_size = sizeof(DTSHDDemuxContext),
libavformat/dv.c+1−1
@@ -614,7 +614,7 @@ static int dv_probe(const AVProbeData *p) · 613 unmodified lines
614614 return 0;
615615 }
616616
617−AVInputFormat ff_dv_demuxer = {
617+const AVInputFormat ff_dv_demuxer = {
618618 .name = "dv",
619619 .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
620620 .priv_data_size = sizeof(RawDVContext),
libavformat/dvenc.c+1−1
@@ -436,7 +436,7 @@ static void dv_deinit(AVFormatContext *s) · 435 unmodified lines
436436 av_fifo_freep(&c->audio_data[i]);
437437 }
438438
439−AVOutputFormat ff_dv_muxer = {
439+const AVOutputFormat ff_dv_muxer = {
440440 .name = "dv",
441441 .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
442442 .extensions = "dv",
libavformat/dxa.c+1−1
@@ -226,7 +226,7 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt) · 225 unmodified lines
226226 return AVERROR_EOF;
227227 }
228228
229−AVInputFormat ff_dxa_demuxer = {
229+const AVInputFormat ff_dxa_demuxer = {
230230 .name = "dxa",
231231 .long_name = NULL_IF_CONFIG_SMALL("DXA"),
232232 .priv_data_size = sizeof(DXAContext),
libavformat/eacdata.c+1−1
@@ -94,7 +94,7 @@ static int cdata_read_packet(AVFormatContext *s, AVPacket *pkt) · 93 unmodified lines
9494 return 0;
9595 }
9696
97−AVInputFormat ff_ea_cdata_demuxer = {
97+const AVInputFormat ff_ea_cdata_demuxer = {
9898 .name = "ea_cdata",
9999 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts cdata"),
100100 .priv_data_size = sizeof(CdataDemuxContext),
libavformat/electronicarts.c+1−1
@@ -752,7 +752,7 @@ get_video_packet: · 751 unmodified lines
752752 return ret;
753753 }
754754
755−AVInputFormat ff_ea_demuxer = {
755+const AVInputFormat ff_ea_demuxer = {
756756 .name = "ea",
757757 .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Multimedia"),
758758 .priv_data_size = sizeof(EaDemuxContext),
libavformat/epafdec.c+1−1
@@ -93,7 +93,7 @@ static int epaf_read_header(AVFormatContext *s) · 92 unmodified lines
9393 return 0;
9494 }
9595
96−AVInputFormat ff_epaf_demuxer = {
96+const AVInputFormat ff_epaf_demuxer = {
9797 .name = "epaf",
9898 .long_name = NULL_IF_CONFIG_SMALL("Ensoniq Paris Audio File"),
9999 .read_probe = epaf_probe,
libavformat/ffmetadec.c+1−1
@@ -222,7 +222,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 221 unmodified lines
222222 return AVERROR_EOF;
223223 }
224224
225−AVInputFormat ff_ffmetadata_demuxer = {
225+const AVInputFormat ff_ffmetadata_demuxer = {
226226 .name = "ffmetadata",
227227 .long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"),
228228 .read_probe = probe,
libavformat/ffmetaenc.c+1−1
@@ -87,7 +87,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 86 unmodified lines
8787 return 0;
8888 }
8989
90−AVOutputFormat ff_ffmetadata_muxer = {
90+const AVOutputFormat ff_ffmetadata_muxer = {
9191 .name = "ffmetadata",
9292 .long_name = NULL_IF_CONFIG_SMALL("FFmpeg metadata in text"),
9393 .extensions = "ffmeta",
libavformat/fifo.c+1−1
@@ -697,7 +697,7 @@ static const AVClass fifo_muxer_class = { · 696 unmodified lines
697697 .version = LIBAVUTIL_VERSION_INT,
698698 };
699699
700−AVOutputFormat ff_fifo_muxer = {
700+const AVOutputFormat ff_fifo_muxer = {
701701 .name = "fifo",
702702 .long_name = NULL_IF_CONFIG_SMALL("FIFO queue pseudo-muxer"),
703703 .priv_data_size = sizeof(FifoContext),
libavformat/fifo_test.c+1−1
@@ -138,7 +138,7 @@ static const AVClass failing_muxer_class = { · 137 unmodified lines
138138 .version = LIBAVUTIL_VERSION_INT,
139139 };
140140
141−AVOutputFormat ff_fifo_test_muxer = {
141+const AVOutputFormat ff_fifo_test_muxer = {
142142 .name = "fifo_test",
143143 .long_name = NULL_IF_CONFIG_SMALL("Fifo test muxer"),
144144 .priv_data_size = sizeof(FailingMuxerContext),
libavformat/filmstripdec.c+1−1
@@ -104,7 +104,7 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 103 unmodified lines
104104 return 0;
105105 }
106106
107−AVInputFormat ff_filmstrip_demuxer = {
107+const AVInputFormat ff_filmstrip_demuxer = {
108108 .name = "filmstrip",
109109 .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
110110 .priv_data_size = sizeof(FilmstripDemuxContext),
libavformat/filmstripenc.c+1−1
@@ -60,7 +60,7 @@ static int write_trailer(AVFormatContext *s) · 59 unmodified lines
6060 return 0;
6161 }
6262
63−AVOutputFormat ff_filmstrip_muxer = {
63+const AVOutputFormat ff_filmstrip_muxer = {
6464 .name = "filmstrip",
6565 .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"),
6666 .extensions = "flm",
libavformat/fitsdec.c+1−1
@@ -223,7 +223,7 @@ static const AVClass fits_demuxer_class = { · 222 unmodified lines
223223 .version = LIBAVUTIL_VERSION_INT,
224224 };
225225
226−AVInputFormat ff_fits_demuxer = {
226+const AVInputFormat ff_fits_demuxer = {
227227 .name = "fits",
228228 .long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"),
229229 .priv_data_size = sizeof(FITSContext),
libavformat/fitsenc.c+1−1
@@ -194,7 +194,7 @@ static int fits_write_packet(AVFormatContext *s, AVPacket *pkt) · 193 unmodified lines
194194 return 0;
195195 }
196196
197−AVOutputFormat ff_fits_muxer = {
197+const AVOutputFormat ff_fits_muxer = {
198198 .name = "fits",
199199 .long_name = NULL_IF_CONFIG_SMALL("Flexible Image Transport System"),
200200 .extensions = "fits",
libavformat/flacdec.c+1−1
@@ -330,7 +330,7 @@ static int flac_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in · 329 unmodified lines
330330 }
331331
332332 FF_RAW_DEMUXER_CLASS(flac)
333−AVInputFormat ff_flac_demuxer = {
333+const AVInputFormat ff_flac_demuxer = {
334334 .name = "flac",
335335 .long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
336336 .read_probe = flac_probe,
libavformat/flacenc.c+1−1
@@ -411,7 +411,7 @@ static const AVClass flac_muxer_class = { · 410 unmodified lines
411411 .version = LIBAVUTIL_VERSION_INT,
412412 };
413413
414−AVOutputFormat ff_flac_muxer = {
414+const AVOutputFormat ff_flac_muxer = {
415415 .name = "flac",
416416 .long_name = NULL_IF_CONFIG_SMALL("raw FLAC"),
417417 .priv_data_size = sizeof(FlacMuxerContext),
libavformat/flic.c+1−1
@@ -285,7 +285,7 @@ static int flic_read_seek(AVFormatContext *s, int stream_index, · 284 unmodified lines
285285 return 0;
286286 }
287287
288−AVInputFormat ff_flic_demuxer = {
288+const AVInputFormat ff_flic_demuxer = {
289289 .name = "flic",
290290 .long_name = NULL_IF_CONFIG_SMALL("FLI/FLC/FLX animation"),
291291 .priv_data_size = sizeof(FlicDemuxContext),
libavformat/flvdec.c+3−3
@@ -1372,7 +1372,7 @@ static const AVClass flv_class = { · 1371 unmodified lines
13721372 .version = LIBAVUTIL_VERSION_INT,
13731373 };
13741374
1375−AVInputFormat ff_flv_demuxer = {
1375+const AVInputFormat ff_flv_demuxer = {
13761376 .name = "flv",
13771377 .long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"),
13781378 .priv_data_size = sizeof(FLVContext),
@@ -1392,7 +1392,7 @@ static const AVClass live_flv_class = { · 13 unmodified lines
13921392 .version = LIBAVUTIL_VERSION_INT,
13931393 };
13941394
1395−AVInputFormat ff_live_flv_demuxer = {
1395+const AVInputFormat ff_live_flv_demuxer = {
13961396 .name = "live_flv",
13971397 .long_name = NULL_IF_CONFIG_SMALL("live RTMP FLV (Flash Video)"),
13981398 .priv_data_size = sizeof(FLVContext),
@@ -1413,7 +1413,7 @@ static const AVClass kux_class = { · 14 unmodified lines
14131413 .version = LIBAVUTIL_VERSION_INT,
14141414 };
14151415
1416−AVInputFormat ff_kux_demuxer = {
1416+const AVInputFormat ff_kux_demuxer = {
14171417 .name = "kux",
14181418 .long_name = NULL_IF_CONFIG_SMALL("KUX (YouKu)"),
14191419 .priv_data_size = sizeof(FLVContext),
libavformat/flvenc.c+1−1
@@ -1112,7 +1112,7 @@ static const AVClass flv_muxer_class = { · 1111 unmodified lines
11121112 .version = LIBAVUTIL_VERSION_INT,
11131113 };
11141114
1115−AVOutputFormat ff_flv_muxer = {
1115+const AVOutputFormat ff_flv_muxer = {
11161116 .name = "flv",
11171117 .long_name = NULL_IF_CONFIG_SMALL("FLV (Flash Video)"),
11181118 .mime_type = "video/x-flv",
libavformat/framecrcenc.c+1−1
@@ -129,7 +129,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 128 unmodified lines
129129 return 0;
130130 }
131131
132−AVOutputFormat ff_framecrc_muxer = {
132+const AVOutputFormat ff_framecrc_muxer = {
133133 .name = "framecrc",
134134 .long_name = NULL_IF_CONFIG_SMALL("framecrc testing"),
135135 .audio_codec = AV_CODEC_ID_PCM_S16LE,
libavformat/frmdec.c+1−1
@@ -103,7 +103,7 @@ static int frm_read_packet(AVFormatContext *avctx, AVPacket *pkt) · 102 unmodified lines
103103 return 0;
104104 }
105105
106−AVInputFormat ff_frm_demuxer = {
106+const AVInputFormat ff_frm_demuxer = {
107107 .name = "frm",
108108 .priv_data_size = sizeof(FrmContext),
109109 .long_name = NULL_IF_CONFIG_SMALL("Megalux Frame"),
libavformat/fsb.c+1−1
@@ -200,7 +200,7 @@ static int fsb_read_packet(AVFormatContext *s, AVPacket *pkt) · 199 unmodified lines
200200 return ret;
201201 }
202202
203−AVInputFormat ff_fsb_demuxer = {
203+const AVInputFormat ff_fsb_demuxer = {
204204 .name = "fsb",
205205 .long_name = NULL_IF_CONFIG_SMALL("FMOD Sample Bank"),
206206 .read_probe = fsb_probe,
libavformat/fwse.c+1−1
@@ -78,7 +78,7 @@ static int fwse_read_header(AVFormatContext *s) · 77 unmodified lines
7878 return 0;
7979 }
8080
81−AVInputFormat ff_fwse_demuxer = {
81+const AVInputFormat ff_fwse_demuxer = {
8282 .name = "fwse",
8383 .long_name = NULL_IF_CONFIG_SMALL("Capcom's MT Framework sound"),
8484 .read_probe = fwse_probe,
libavformat/g722.c+1−1
@@ -47,7 +47,7 @@ static int g722_read_header(AVFormatContext *s) · 46 unmodified lines
4747 }
4848
4949 FF_RAW_DEMUXER_CLASS(g722)
50−AVInputFormat ff_g722_demuxer = {
50+const AVInputFormat ff_g722_demuxer = {
5151 .name = "g722",
5252 .long_name = NULL_IF_CONFIG_SMALL("raw G.722"),
5353 .read_header = g722_read_header,
libavformat/g723_1.c+1−1
@@ -75,7 +75,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt) · 74 unmodified lines
7575 return pkt->size;
7676 }
7777
78−AVInputFormat ff_g723_1_demuxer = {
78+const AVInputFormat ff_g723_1_demuxer = {
7979 .name = "g723_1",
8080 .long_name = NULL_IF_CONFIG_SMALL("G.723.1"),
8181 .read_header = g723_1_init,
libavformat/g726.c+2−2
@@ -73,7 +73,7 @@ static const AVClass g726le_demuxer_class = { · 72 unmodified lines
7373 .version = LIBAVUTIL_VERSION_INT,
7474 };
7575
76−AVInputFormat ff_g726_demuxer = {
76+const AVInputFormat ff_g726_demuxer = {
7777 .name = "g726",
7878 .long_name = NULL_IF_CONFIG_SMALL("raw big-endian G.726 (\"left aligned\")"),
7979 .read_header = g726_read_header,
@@ -92,7 +92,7 @@ static const AVClass g726_demuxer_class = { · 12 unmodified lines
9292 .version = LIBAVUTIL_VERSION_INT,
9393 };
9494
95−AVInputFormat ff_g726le_demuxer = {
95+const AVInputFormat ff_g726le_demuxer = {
9696 .name = "g726le",
9797 .long_name = NULL_IF_CONFIG_SMALL("raw little-endian G.726 (\"right aligned\")"),
9898 .read_header = g726_read_header,
libavformat/g729dec.c+1−1
@@ -93,7 +93,7 @@ static const AVClass g729_demuxer_class = { · 92 unmodified lines
9393 .version = LIBAVUTIL_VERSION_INT,
9494 };
9595
96−AVInputFormat ff_g729_demuxer = {
96+const AVInputFormat ff_g729_demuxer = {
9797 .name = "g729",
9898 .long_name = NULL_IF_CONFIG_SMALL("G.729 raw format demuxer"),
9999 .priv_data_size = sizeof(G729DemuxerContext),
libavformat/gdv.c+1−1
@@ -193,7 +193,7 @@ static int gdv_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 192 unmodified lines
193193 return 0;
194194 }
195195
196−AVInputFormat ff_gdv_demuxer = {
196+const AVInputFormat ff_gdv_demuxer = {
197197 .name = "gdv",
198198 .long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"),
199199 .priv_data_size = sizeof(GDVContext),
libavformat/genh.c+1−1
@@ -189,7 +189,7 @@ static int genh_read_packet(AVFormatContext *s, AVPacket *pkt) · 188 unmodified lines
189189 return ret;
190190 }
191191
192−AVInputFormat ff_genh_demuxer = {
192+const AVInputFormat ff_genh_demuxer = {
193193 .name = "genh",
194194 .long_name = NULL_IF_CONFIG_SMALL("GENeric Header"),
195195 .priv_data_size = sizeof(GENHDemuxContext),
libavformat/gif.c+1−1
@@ -203,7 +203,7 @@ static const AVClass gif_muxer_class = { · 202 unmodified lines
203203 .option = options,
204204 };
205205
206−AVOutputFormat ff_gif_muxer = {
206+const AVOutputFormat ff_gif_muxer = {
207207 .name = "gif",
208208 .long_name = NULL_IF_CONFIG_SMALL("CompuServe Graphics Interchange Format (GIF)"),
209209 .mime_type = "image/gif",
libavformat/gifdec.c+1−1
@@ -397,7 +397,7 @@ static const AVClass demuxer_class = { · 396 unmodified lines
397397 .category = AV_CLASS_CATEGORY_DEMUXER,
398398 };
399399
400−AVInputFormat ff_gif_demuxer = {
400+const AVInputFormat ff_gif_demuxer = {
401401 .name = "gif",
402402 .long_name = NULL_IF_CONFIG_SMALL("CompuServe Graphics Interchange Format (GIF)"),
403403 .priv_data_size = sizeof(GIFDemuxContext),
libavformat/gsmdec.c+1−1
@@ -103,7 +103,7 @@ static const AVClass gsm_class = { · 102 unmodified lines
103103 .version = LIBAVUTIL_VERSION_INT,
104104 };
105105
106−AVInputFormat ff_gsm_demuxer = {
106+const AVInputFormat ff_gsm_demuxer = {
107107 .name = "gsm",
108108 .long_name = NULL_IF_CONFIG_SMALL("raw GSM"),
109109 .priv_data_size = sizeof(GSMDemuxerContext),
libavformat/gxf.c+1−1
@@ -599,7 +599,7 @@ static int64_t gxf_read_timestamp(AVFormatContext *s, int stream_index, · 598 unmodified lines
599599 return res;
600600 }
601601
602−AVInputFormat ff_gxf_demuxer = {
602+const AVInputFormat ff_gxf_demuxer = {
603603 .name = "gxf",
604604 .long_name = NULL_IF_CONFIG_SMALL("GXF (General eXchange Format)"),
605605 .priv_data_size = sizeof(struct gxf_stream_info),
libavformat/gxfenc.c+1−1
@@ -1025,7 +1025,7 @@ static int gxf_interleave_packet(AVFormatContext *s, AVPacket *out, AVPacket *pk · 1024 unmodified lines
10251025 return ff_interleave_packet_per_dts(s, out, NULL, flush);
10261026 }
10271027
1028−AVOutputFormat ff_gxf_muxer = {
1028+const AVOutputFormat ff_gxf_muxer = {
10291029 .name = "gxf",
10301030 .long_name = NULL_IF_CONFIG_SMALL("GXF (General eXchange Format)"),
10311031 .extensions = "gxf",
libavformat/hashenc.c+5−5
@@ -171,7 +171,7 @@ static const AVClass hashenc_class = { · 170 unmodified lines
171171 .version = LIBAVUTIL_VERSION_INT,
172172 };
173173
174−AVOutputFormat ff_hash_muxer = {
174+const AVOutputFormat ff_hash_muxer = {
175175 .name = "hash",
176176 .long_name = NULL_IF_CONFIG_SMALL("Hash testing"),
177177 .priv_data_size = sizeof(struct HashContext),
@@ -195,7 +195,7 @@ static const AVClass md5enc_class = { · 17 unmodified lines
195195 .version = LIBAVUTIL_VERSION_INT,
196196 };
197197
198−AVOutputFormat ff_md5_muxer = {
198+const AVOutputFormat ff_md5_muxer = {
199199 .name = "md5",
200200 .long_name = NULL_IF_CONFIG_SMALL("MD5 testing"),
201201 .priv_data_size = sizeof(struct HashContext),
@@ -219,7 +219,7 @@ static const AVClass streamhashenc_class = { · 17 unmodified lines
219219 .version = LIBAVUTIL_VERSION_INT,
220220 };
221221
222−AVOutputFormat ff_streamhash_muxer = {
222+const AVOutputFormat ff_streamhash_muxer = {
223223 .name = "streamhash",
224224 .long_name = NULL_IF_CONFIG_SMALL("Per-stream hash testing"),
225225 .priv_data_size = sizeof(struct HashContext),
@@ -330,7 +330,7 @@ static const AVClass framehash_class = { · 104 unmodified lines
330330 .version = LIBAVUTIL_VERSION_INT,
331331 };
332332
333−AVOutputFormat ff_framehash_muxer = {
333+const AVOutputFormat ff_framehash_muxer = {
334334 .name = "framehash",
335335 .long_name = NULL_IF_CONFIG_SMALL("Per-frame hash testing"),
336336 .priv_data_size = sizeof(struct HashContext),
@@ -354,7 +354,7 @@ static const AVClass framemd5_class = { · 17 unmodified lines
354354 .version = LIBAVUTIL_VERSION_INT,
355355 };
356356
357−AVOutputFormat ff_framemd5_muxer = {
357+const AVOutputFormat ff_framemd5_muxer = {
358358 .name = "framemd5",
359359 .long_name = NULL_IF_CONFIG_SMALL("Per-frame MD5 testing"),
360360 .priv_data_size = sizeof(struct HashContext),
libavformat/hca.c+1−1
@@ -113,7 +113,7 @@ static int hca_read_packet(AVFormatContext *s, AVPacket *pkt) · 112 unmodified lines
113113 return ret;
114114 }
115115
116−AVInputFormat ff_hca_demuxer = {
116+const AVInputFormat ff_hca_demuxer = {
117117 .name = "hca",
118118 .long_name = NULL_IF_CONFIG_SMALL("CRI HCA"),
119119 .read_probe = hca_probe,
libavformat/hcom.c+1−1
@@ -82,7 +82,7 @@ static int hcom_read_header(AVFormatContext *s) · 81 unmodified lines
8282 return 0;
8383 }
8484
85−AVInputFormat ff_hcom_demuxer = {
85+const AVInputFormat ff_hcom_demuxer = {
8686 .name = "hcom",
8787 .long_name = NULL_IF_CONFIG_SMALL("Macintosh HCOM"),
8888 .read_probe = hcom_probe,
libavformat/hdsenc.c+1−1
@@ -566,7 +566,7 @@ static const AVClass hds_class = { · 565 unmodified lines
566566 .version = LIBAVUTIL_VERSION_INT,
567567 };
568568
569−AVOutputFormat ff_hds_muxer = {
569+const AVOutputFormat ff_hds_muxer = {
570570 .name = "hds",
571571 .long_name = NULL_IF_CONFIG_SMALL("HDS Muxer"),
572572 .priv_data_size = sizeof(HDSContext),
libavformat/hls.c+1−1
@@ -2413,7 +2413,7 @@ static const AVClass hls_class = { · 2412 unmodified lines
24132413 .version = LIBAVUTIL_VERSION_INT,
24142414 };
24152415
2416−AVInputFormat ff_hls_demuxer = {
2416+const AVInputFormat ff_hls_demuxer = {
24172417 .name = "hls",
24182418 .long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
24192419 .priv_class = &hls_class,
libavformat/hlsenc.c+1−1
@@ -3159,7 +3159,7 @@ static const AVClass hls_class = { · 3158 unmodified lines
31593159 };
31603160
31613161
3162−AVOutputFormat ff_hls_muxer = {
3162+const AVOutputFormat ff_hls_muxer = {
31633163 .name = "hls",
31643164 .long_name = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
31653165 .extensions = "m3u8",
libavformat/hnm.c+1−1
@@ -158,7 +158,7 @@ static int hnm_read_packet(AVFormatContext *s, AVPacket *pkt) · 157 unmodified lines
158158 return ret;
159159 }
160160
161−AVInputFormat ff_hnm_demuxer = {
161+const AVInputFormat ff_hnm_demuxer = {
162162 .name = "hnm",
163163 .long_name = NULL_IF_CONFIG_SMALL("Cryo HNM v4"),
164164 .priv_data_size = sizeof(Hnm4DemuxContext),
libavformat/icodec.c+1−1
@@ -220,7 +220,7 @@ static int ico_read_close(AVFormatContext * s) · 219 unmodified lines
220220 return 0;
221221 }
222222
223−AVInputFormat ff_ico_demuxer = {
223+const AVInputFormat ff_ico_demuxer = {
224224 .name = "ico",
225225 .long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),
226226 .priv_data_size = sizeof(IcoDemuxContext),
libavformat/icoenc.c+1−1
@@ -191,7 +191,7 @@ static void ico_deinit(AVFormatContext *s) · 190 unmodified lines
191191 av_freep(&ico->images);
192192 }
193193
194−AVOutputFormat ff_ico_muxer = {
194+const AVOutputFormat ff_ico_muxer = {
195195 .name = "ico",
196196 .long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),
197197 .priv_data_size = sizeof(IcoMuxContext),
libavformat/idcin.c+1−1
@@ -366,7 +366,7 @@ static int idcin_read_seek(AVFormatContext *s, int stream_index, · 365 unmodified lines
366366 return -1;
367367 }
368368
369−AVInputFormat ff_idcin_demuxer = {
369+const AVInputFormat ff_idcin_demuxer = {
370370 .name = "idcin",
371371 .long_name = NULL_IF_CONFIG_SMALL("id Cinematic"),
372372 .priv_data_size = sizeof(IdcinDemuxContext),
libavformat/idroqdec.c+1−1
@@ -239,7 +239,7 @@ static int roq_read_packet(AVFormatContext *s, · 238 unmodified lines
239239 return ret;
240240 }
241241
242−AVInputFormat ff_roq_demuxer = {
242+const AVInputFormat ff_roq_demuxer = {
243243 .name = "roq",
244244 .long_name = NULL_IF_CONFIG_SMALL("id RoQ"),
245245 .priv_data_size = sizeof(RoqDemuxContext),
libavformat/idroqenc.c+1−1
@@ -59,7 +59,7 @@ static int roq_write_header(struct AVFormatContext *s) · 58 unmodified lines
5959 return 0;
6060 }
6161
62−AVOutputFormat ff_roq_muxer = {
62+const AVOutputFormat ff_roq_muxer = {
6363 .name = "roq",
6464 .long_name = NULL_IF_CONFIG_SMALL("raw id RoQ"),
6565 .extensions = "roq",
libavformat/iff.c+1−1
@@ -896,7 +896,7 @@ static int iff_read_packet(AVFormatContext *s, · 895 unmodified lines
896896 return ret;
897897 }
898898
899−AVInputFormat ff_iff_demuxer = {
899+const AVInputFormat ff_iff_demuxer = {
900900 .name = "iff",
901901 .long_name = NULL_IF_CONFIG_SMALL("IFF (Interchange File Format)"),
902902 .priv_data_size = sizeof(IffDemuxContext),
libavformat/ifv.c+1−1
@@ -305,7 +305,7 @@ static int ifv_read_seek(AVFormatContext *s, int stream_index, int64_t ts, int f · 304 unmodified lines
305305 return 0;
306306 }
307307
308−AVInputFormat ff_ifv_demuxer = {
308+const AVInputFormat ff_ifv_demuxer = {
309309 .name = "ifv",
310310 .long_name = NULL_IF_CONFIG_SMALL("IFV CCTV DVR"),
311311 .priv_data_size = sizeof(IFVContext),
libavformat/ilbc.c+2−2
@@ -112,7 +112,7 @@ static int ilbc_read_packet(AVFormatContext *s, · 111 unmodified lines
112112 return 0;
113113 }
114114
115−AVInputFormat ff_ilbc_demuxer = {
115+const AVInputFormat ff_ilbc_demuxer = {
116116 .name = "ilbc",
117117 .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
118118 .read_probe = ilbc_probe,
@@ -122,7 +122,7 @@ AVInputFormat ff_ilbc_demuxer = { · 3 unmodified lines
122122 };
123123
124124 #if CONFIG_ILBC_MUXER
125−AVOutputFormat ff_ilbc_muxer = {
125+const AVOutputFormat ff_ilbc_muxer = {
126126 .name = "ilbc",
127127 .long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
128128 .mime_type = "audio/iLBC",
libavformat/img2_alias_pix.c+1−1
@@ -61,7 +61,7 @@ static const AVClass image2_alias_pix_class = { · 60 unmodified lines
6161 .version = LIBAVUTIL_VERSION_INT,
6262 };
6363
64−AVInputFormat ff_image2_alias_pix_demuxer = {
64+const AVInputFormat ff_image2_alias_pix_demuxer = {
6565 .name = "alias_pix",
6666 .long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
6767 .priv_data_size = sizeof(VideoDemuxData),
libavformat/img2_brender_pix.c+1−1
@@ -45,7 +45,7 @@ static const AVClass image2_brender_pix_class = { · 44 unmodified lines
4545 .version = LIBAVUTIL_VERSION_INT,
4646 };
4747
48−AVInputFormat ff_image2_brender_pix_demuxer = {
48+const AVInputFormat ff_image2_brender_pix_demuxer = {
4949 .name = "brender_pix",
5050 .long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
5151 .priv_data_size = sizeof(VideoDemuxData),
libavformat/img2dec.c+3−3
@@ -633,7 +633,7 @@ static const AVClass img2_class = { · 632 unmodified lines
633633 .option = ff_img_options,
634634 .version = LIBAVUTIL_VERSION_INT,
635635 };
636−AVInputFormat ff_image2_demuxer = {
636+const AVInputFormat ff_image2_demuxer = {
637637 .name = "image2",
638638 .long_name = NULL_IF_CONFIG_SMALL("image2 sequence"),
639639 .priv_data_size = sizeof(VideoDemuxData),
@@ -659,7 +659,7 @@ static const AVClass img2pipe_class = { · 19 unmodified lines
659659 .option = ff_img2pipe_options,
660660 .version = LIBAVUTIL_VERSION_INT,
661661 };
662−AVInputFormat ff_image2pipe_demuxer = {
662+const AVInputFormat ff_image2pipe_demuxer = {
663663 .name = "image2pipe",
664664 .long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"),
665665 .priv_data_size = sizeof(VideoDemuxData),
@@ -1112,7 +1112,7 @@ static const AVClass imgname ## _class = {\ · 446 unmodified lines
11121112 .option = ff_img2pipe_options,\
11131113 .version = LIBAVUTIL_VERSION_INT,\
11141114 };\
1115−AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
1115+const AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
11161116 .name = AV_STRINGIFY(imgname) "_pipe",\
11171117 .long_name = NULL_IF_CONFIG_SMALL("piped " AV_STRINGIFY(imgname) " sequence"),\
11181118 .priv_data_size = sizeof(VideoDemuxData),\
libavformat/img2enc.c+2−2
@@ -257,7 +257,7 @@ static const AVClass img2mux_class = { · 256 unmodified lines
257257 .version = LIBAVUTIL_VERSION_INT,
258258 };
259259
260−AVOutputFormat ff_image2_muxer = {
260+const AVOutputFormat ff_image2_muxer = {
261261 .name = "image2",
262262 .long_name = NULL_IF_CONFIG_SMALL("image2 sequence"),
263263 .extensions = "bmp,dpx,exr,jls,jpeg,jpg,ljpg,pam,pbm,pcx,pfm,pgm,pgmyuv,png,"
@@ -273,7 +273,7 @@ AVOutputFormat ff_image2_muxer = { · 9 unmodified lines
273273 };
274274 #endif
275275 #if CONFIG_IMAGE2PIPE_MUXER
276−AVOutputFormat ff_image2pipe_muxer = {
276+const AVOutputFormat ff_image2pipe_muxer = {
277277 .name = "image2pipe",
278278 .long_name = NULL_IF_CONFIG_SMALL("piped image2 sequence"),
279279 .priv_data_size = sizeof(VideoMuxData),
libavformat/imx.c+1−1
@@ -156,7 +156,7 @@ retry: · 155 unmodified lines
156156 return ret;
157157 }
158158
159−AVInputFormat ff_simbiosis_imx_demuxer = {
159+const AVInputFormat ff_simbiosis_imx_demuxer = {
160160 .name = "simbiosis_imx",
161161 .long_name = NULL_IF_CONFIG_SMALL("Simbiosis Interactive IMX"),
162162 .priv_data_size = sizeof(SimbiosisIMXDemuxContext),
libavformat/ingenientdec.c+1−1
@@ -63,7 +63,7 @@ static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt) · 62 unmodified lines
6363
6464 FF_RAWVIDEO_DEMUXER_CLASS(ingenient)
6565
66−AVInputFormat ff_ingenient_demuxer = {
66+const AVInputFormat ff_ingenient_demuxer = {
6767 .name = "ingenient",
6868 .long_name = NULL_IF_CONFIG_SMALL("raw Ingenient MJPEG"),
6969 .priv_data_size = sizeof(FFRawVideoDemuxerContext),
libavformat/ipmovie.c+1−1
@@ -701,7 +701,7 @@ static int ipmovie_read_packet(AVFormatContext *s, · 700 unmodified lines
701701 }
702702 }
703703
704−AVInputFormat ff_ipmovie_demuxer = {
704+const AVInputFormat ff_ipmovie_demuxer = {
705705 .name = "ipmovie",
706706 .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE"),
707707 .priv_data_size = sizeof(IPMVEContext),
libavformat/ipudec.c+1−1
@@ -75,7 +75,7 @@ static const AVClass ipu_demuxer_class = { · 74 unmodified lines
7575 .version = LIBAVUTIL_VERSION_INT,
7676 };
7777
78−AVInputFormat ff_ipu_demuxer = {
78+const AVInputFormat ff_ipu_demuxer = {
7979 .name = "ipu",
8080 .long_name = NULL_IF_CONFIG_SMALL("raw IPU Video"),
8181 .read_probe = ipu_read_probe,
libavformat/ircamdec.c+1−1
@@ -106,7 +106,7 @@ static int ircam_read_header(AVFormatContext *s) · 105 unmodified lines
106106 return 0;
107107 }
108108
109−AVInputFormat ff_ircam_demuxer = {
109+const AVInputFormat ff_ircam_demuxer = {
110110 .name = "ircam",
111111 .long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"),
112112 .read_probe = ircam_probe,
libavformat/ircamenc.c+1−1
@@ -50,7 +50,7 @@ static int ircam_write_header(AVFormatContext *s) · 49 unmodified lines
5050 return 0;
5151 }
5252
53−AVOutputFormat ff_ircam_muxer = {
53+const AVOutputFormat ff_ircam_muxer = {
5454 .name = "ircam",
5555 .extensions = "sf,ircam",
5656 .long_name = NULL_IF_CONFIG_SMALL("Berkeley/IRCAM/CARL Sound Format"),
libavformat/iss.c+1−1
@@ -143,7 +143,7 @@ static int iss_read_packet(AVFormatContext *s, AVPacket *pkt) · 142 unmodified lines
143143 return 0;
144144 }
145145
146−AVInputFormat ff_iss_demuxer = {
146+const AVInputFormat ff_iss_demuxer = {
147147 .name = "iss",
148148 .long_name = NULL_IF_CONFIG_SMALL("Funcom ISS"),
149149 .priv_data_size = sizeof(IssDemuxContext),
libavformat/iv8.c+1−1
@@ -107,7 +107,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 106 unmodified lines
107107 return 0;
108108 }
109109
110−AVInputFormat ff_iv8_demuxer = {
110+const AVInputFormat ff_iv8_demuxer = {
111111 .name = "iv8",
112112 .long_name = NULL_IF_CONFIG_SMALL("IndigoVision 8000 video"),
113113 .read_probe = probe,
libavformat/ivfdec.c+1−1
@@ -81,7 +81,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 80 unmodified lines
8181 return ret;
8282 }
8383
84−AVInputFormat ff_ivf_demuxer = {
84+const AVInputFormat ff_ivf_demuxer = {
8585 .name = "ivf",
8686 .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
8787 .read_probe = probe,
libavformat/ivfenc.c+1−1
@@ -121,7 +121,7 @@ static const AVCodecTag codec_ivf_tags[] = { · 120 unmodified lines
121121 { AV_CODEC_ID_NONE, 0 }
122122 };
123123
124−AVOutputFormat ff_ivf_muxer = {
124+const AVOutputFormat ff_ivf_muxer = {
125125 .priv_data_size = sizeof(IVFEncContext),
126126 .name = "ivf",
127127 .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
libavformat/jacosubdec.c+1−1
@@ -276,7 +276,7 @@ static int jacosub_read_seek(AVFormatContext *s, int stream_index, · 275 unmodified lines
276276 min_ts, ts, max_ts, flags);
277277 }
278278
279−AVInputFormat ff_jacosub_demuxer = {
279+const AVInputFormat ff_jacosub_demuxer = {
280280 .name = "jacosub",
281281 .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"),
282282 .priv_data_size = sizeof(JACOsubContext),
libavformat/jacosubenc.c+1−1
@@ -29,7 +29,7 @@ static int jacosub_write_header(AVFormatContext *s) · 28 unmodified lines
2929 return 0;
3030 }
3131
32−AVOutputFormat ff_jacosub_muxer = {
32+const AVOutputFormat ff_jacosub_muxer = {
3333 .name = "jacosub",
3434 .long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"),
3535 .mime_type = "text/x-jacosub",
libavformat/jvdec.c+1−1
@@ -254,7 +254,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 253 unmodified lines
254254 return 0;
255255 }
256256
257−AVInputFormat ff_jv_demuxer = {
257+const AVInputFormat ff_jv_demuxer = {
258258 .name = "jv",
259259 .long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV"),
260260 .priv_data_size = sizeof(JVDemuxContext),
libavformat/kvag.c+2−2
@@ -119,7 +119,7 @@ static int kvag_seek(AVFormatContext *s, int stream_index, · 118 unmodified lines
119119 return avio_seek(s->pb, KVAG_HEADER_SIZE, SEEK_SET);
120120 }
121121
122−AVInputFormat ff_kvag_demuxer = {
122+const AVInputFormat ff_kvag_demuxer = {
123123 .name = "kvag",
124124 .long_name = NULL_IF_CONFIG_SMALL("Simon & Schuster Interactive VAG"),
125125 .read_probe = kvag_probe,
@@ -193,7 +193,7 @@ static int kvag_write_trailer(AVFormatContext *s) · 67 unmodified lines
193193 return 0;
194194 }
195195
196−AVOutputFormat ff_kvag_muxer = {
196+const AVOutputFormat ff_kvag_muxer = {
197197 .name = "kvag",
198198 .long_name = NULL_IF_CONFIG_SMALL("Simon & Schuster Interactive VAG"),
199199 .extensions = "vag",
libavformat/latmenc.c+1−1
@@ -256,7 +256,7 @@ static int latm_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 255 unmodified lines
256256 return ret;
257257 }
258258
259−AVOutputFormat ff_latm_muxer = {
259+const AVOutputFormat ff_latm_muxer = {
260260 .name = "latm",
261261 .long_name = NULL_IF_CONFIG_SMALL("LOAS/LATM"),
262262 .mime_type = "audio/MP4A-LATM",
libavformat/libgme.c+1−1
@@ -197,7 +197,7 @@ static const AVClass class_gme = { · 196 unmodified lines
197197 .version = LIBAVUTIL_VERSION_INT,
198198 };
199199
200−AVInputFormat ff_libgme_demuxer = {
200+const AVInputFormat ff_libgme_demuxer = {
201201 .name = "libgme",
202202 .long_name = NULL_IF_CONFIG_SMALL("Game Music Emu demuxer"),
203203 .priv_data_size = sizeof(GMEContext),
libavformat/libmodplug.c+1−1
@@ -380,7 +380,7 @@ static const AVClass modplug_class = { · 379 unmodified lines
380380 .version = LIBAVUTIL_VERSION_INT,
381381 };
382382
383−AVInputFormat ff_libmodplug_demuxer = {
383+const AVInputFormat ff_libmodplug_demuxer = {
384384 .name = "libmodplug",
385385 .long_name = NULL_IF_CONFIG_SMALL("ModPlug demuxer"),
386386 .priv_data_size = sizeof(ModPlugContext),
libavformat/libopenmpt.c+1−1
@@ -281,7 +281,7 @@ static const AVClass class_openmpt = { · 280 unmodified lines
281281 .version = LIBAVUTIL_VERSION_INT,
282282 };
283283
284−AVInputFormat ff_libopenmpt_demuxer = {
284+const AVInputFormat ff_libopenmpt_demuxer = {
285285 .name = "libopenmpt",
286286 .long_name = NULL_IF_CONFIG_SMALL("Tracker formats (libopenmpt)"),
287287 .priv_data_size = sizeof(OpenMPTContext),
libavformat/lmlm4.c+1−1
@@ -121,7 +121,7 @@ static int lmlm4_read_packet(AVFormatContext *s, AVPacket *pkt) · 120 unmodified lines
121121 return ret;
122122 }
123123
124−AVInputFormat ff_lmlm4_demuxer = {
124+const AVInputFormat ff_lmlm4_demuxer = {
125125 .name = "lmlm4",
126126 .long_name = NULL_IF_CONFIG_SMALL("raw lmlm4"),
127127 .read_probe = lmlm4_probe,
libavformat/loasdec.c+1−1
@@ -84,7 +84,7 @@ static int loas_read_header(AVFormatContext *s) · 83 unmodified lines
8484 }
8585
8686 FF_RAW_DEMUXER_CLASS(loas)
87−AVInputFormat ff_loas_demuxer = {
87+const AVInputFormat ff_loas_demuxer = {
8888 .name = "loas",
8989 .long_name = NULL_IF_CONFIG_SMALL("LOAS AudioSyncStream"),
9090 .read_probe = loas_probe,
libavformat/lrcdec.c+1−1
@@ -241,7 +241,7 @@ static int lrc_read_close(AVFormatContext *s) · 240 unmodified lines
241241 return 0;
242242 }
243243
244−AVInputFormat ff_lrc_demuxer = {
244+const AVInputFormat ff_lrc_demuxer = {
245245 .name = "lrc",
246246 .long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"),
247247 .priv_data_size = sizeof (LRCContext),
libavformat/lrcenc.c+1−1
@@ -140,7 +140,7 @@ static int lrc_write_packet(AVFormatContext *s, AVPacket *pkt) · 139 unmodified lines
140140 return 0;
141141 }
142142
143−AVOutputFormat ff_lrc_muxer = {
143+const AVOutputFormat ff_lrc_muxer = {
144144 .name = "lrc",
145145 .long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"),
146146 .extensions = "lrc",
libavformat/luodatdec.c+1−1
@@ -115,7 +115,7 @@ static int dat_read_packet(AVFormatContext *s, AVPacket *pkt) · 114 unmodified lines
115115 return ret;
116116 }
117117
118−AVInputFormat ff_luodat_demuxer = {
118+const AVInputFormat ff_luodat_demuxer = {
119119 .name = "luodat",
120120 .long_name = NULL_IF_CONFIG_SMALL("Video CCTV DAT"),
121121 .read_probe = dat_probe,
libavformat/lvfdec.c+1−1
@@ -145,7 +145,7 @@ static int lvf_read_packet(AVFormatContext *s, AVPacket *pkt) · 144 unmodified lines
145145 return AVERROR_EOF;
146146 }
147147
148−AVInputFormat ff_lvf_demuxer = {
148+const AVInputFormat ff_lvf_demuxer = {
149149 .name = "lvf",
150150 .long_name = NULL_IF_CONFIG_SMALL("LVF"),
151151 .read_probe = lvf_probe,
libavformat/lxfdec.c+1−1
@@ -334,7 +334,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt) · 333 unmodified lines
334334 return ret;
335335 }
336336
337−AVInputFormat ff_lxf_demuxer = {
337+const AVInputFormat ff_lxf_demuxer = {
338338 .name = "lxf",
339339 .long_name = NULL_IF_CONFIG_SMALL("VR native stream (LXF)"),
340340 .priv_data_size = sizeof(LXFDemuxContext),
libavformat/matroskadec.c+2−2
@@ -4306,7 +4306,7 @@ static const AVClass webm_dash_class = { · 4305 unmodified lines
43064306 .version = LIBAVUTIL_VERSION_INT,
43074307 };
43084308
4309−AVInputFormat ff_matroska_demuxer = {
4309+const AVInputFormat ff_matroska_demuxer = {
43104310 .name = "matroska,webm",
43114311 .long_name = NULL_IF_CONFIG_SMALL("Matroska / WebM"),
43124312 .extensions = "mkv,mk3d,mka,mks,webm",
@@ -4319,7 +4319,7 @@ AVInputFormat ff_matroska_demuxer = { · 6 unmodified lines
43194319 .mime_type = "audio/webm,audio/x-matroska,video/webm,video/x-matroska"
43204320 };
43214321
4322−AVInputFormat ff_webm_dash_manifest_demuxer = {
4322+const AVInputFormat ff_webm_dash_manifest_demuxer = {
43234323 .name = "webm_dash_manifest",
43244324 .long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"),
43254325 .priv_data_size = sizeof(MatroskaDemuxContext),
libavformat/matroskaenc.c+3−3
@@ -2837,7 +2837,7 @@ static const AVClass matroska_class = { · 2836 unmodified lines
28372837 .version = LIBAVUTIL_VERSION_INT,
28382838 };
28392839
2840−AVOutputFormat ff_matroska_muxer = {
2840+const AVOutputFormat ff_matroska_muxer = {
28412841 .name = "matroska",
28422842 .long_name = NULL_IF_CONFIG_SMALL("Matroska"),
28432843 .mime_type = "video/x-matroska",
@@ -2873,7 +2873,7 @@ static const AVClass webm_class = { · 29 unmodified lines
28732873 .version = LIBAVUTIL_VERSION_INT,
28742874 };
28752875
2876−AVOutputFormat ff_webm_muxer = {
2876+const AVOutputFormat ff_webm_muxer = {
28772877 .name = "webm",
28782878 .long_name = NULL_IF_CONFIG_SMALL("WebM"),
28792879 .mime_type = "video/webm",
@@ -2902,7 +2902,7 @@ static const AVClass mka_class = { · 22 unmodified lines
29022902 .option = options,
29032903 .version = LIBAVUTIL_VERSION_INT,
29042904 };
2905−AVOutputFormat ff_matroska_audio_muxer = {
2905+const AVOutputFormat ff_matroska_audio_muxer = {
29062906 .name = "matroska",
29072907 .long_name = NULL_IF_CONFIG_SMALL("Matroska Audio"),
29082908 .mime_type = "audio/x-matroska",
libavformat/mca.c+1−1
@@ -217,7 +217,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 216 unmodified lines
217217 return 0;
218218 }
219219
220−AVInputFormat ff_mca_demuxer = {
220+const AVInputFormat ff_mca_demuxer = {
221221 .name = "mca",
222222 .long_name = NULL_IF_CONFIG_SMALL("MCA Audio Format"),
223223 .priv_data_size = sizeof(MCADemuxContext),
libavformat/mccdec.c+1−1
@@ -225,7 +225,7 @@ static int mcc_read_close(AVFormatContext *s) · 224 unmodified lines
225225 return 0;
226226 }
227227
228−AVInputFormat ff_mcc_demuxer = {
228+const AVInputFormat ff_mcc_demuxer = {
229229 .name = "mcc",
230230 .long_name = NULL_IF_CONFIG_SMALL("MacCaption"),
231231 .priv_data_size = sizeof(MCCContext),
libavformat/mgsts.c+1−1
@@ -96,7 +96,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 95 unmodified lines
9696 return ret;
9797 }
9898
99−AVInputFormat ff_mgsts_demuxer = {
99+const AVInputFormat ff_mgsts_demuxer = {
100100 .name = "mgsts",
101101 .long_name = NULL_IF_CONFIG_SMALL("Metal Gear Solid: The Twin Snakes"),
102102 .read_probe = read_probe,
libavformat/microdvddec.c+1−1
@@ -203,7 +203,7 @@ static const AVClass microdvd_class = { · 202 unmodified lines
203203 .version = LIBAVUTIL_VERSION_INT,
204204 };
205205
206−AVInputFormat ff_microdvd_demuxer = {
206+const AVInputFormat ff_microdvd_demuxer = {
207207 .name = "microdvd",
208208 .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),
209209 .priv_data_size = sizeof(MicroDVDContext),
libavformat/microdvdenc.c+1−1
@@ -55,7 +55,7 @@ static int microdvd_write_packet(AVFormatContext *avf, AVPacket *pkt) · 54 unmodified lines
5555 return 0;
5656 }
5757
58−AVOutputFormat ff_microdvd_muxer = {
58+const AVOutputFormat ff_microdvd_muxer = {
5959 .name = "microdvd",
6060 .long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),
6161 .mime_type = "text/x-microdvd",
libavformat/mkvtimestamp_v2.c+1−1
@@ -40,7 +40,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt) · 39 unmodified lines
4040 return 0;
4141 }
4242
43−AVOutputFormat ff_mkvtimestamp_v2_muxer = {
43+const AVOutputFormat ff_mkvtimestamp_v2_muxer = {
4444 .name = "mkvtimestamp_v2",
4545 .long_name = NULL_IF_CONFIG_SMALL("extract pts as timecode v2 format, as defined by mkvtoolnix"),
4646 .audio_codec = AV_CODEC_ID_NONE,
libavformat/mlpdec.c+2−2
@@ -57,7 +57,7 @@ static int mlp_probe(const AVProbeData *p) · 56 unmodified lines
5757 }
5858
5959 FF_RAW_DEMUXER_CLASS(mlp)
60−AVInputFormat ff_mlp_demuxer = {
60+const AVInputFormat ff_mlp_demuxer = {
6161 .name = "mlp",
6262 .long_name = NULL_IF_CONFIG_SMALL("raw MLP"),
6363 .read_probe = mlp_probe,
@@ -78,7 +78,7 @@ static int thd_probe(const AVProbeData *p) · 14 unmodified lines
7878 }
7979
8080 FF_RAW_DEMUXER_CLASS(truehd)
81−AVInputFormat ff_truehd_demuxer = {
81+const AVInputFormat ff_truehd_demuxer = {
8282 .name = "truehd",
8383 .long_name = NULL_IF_CONFIG_SMALL("raw TrueHD"),
8484 .read_probe = thd_probe,
libavformat/mlvdec.c+1−1
@@ -481,7 +481,7 @@ static int read_close(AVFormatContext *s) · 480 unmodified lines
481481 return 0;
482482 }
483483
484−AVInputFormat ff_mlv_demuxer = {
484+const AVInputFormat ff_mlv_demuxer = {
485485 .name = "mlv",
486486 .long_name = NULL_IF_CONFIG_SMALL("Magic Lantern Video (MLV)"),
487487 .priv_data_size = sizeof(MlvContext),
libavformat/mm.c+1−1
@@ -190,7 +190,7 @@ static int read_packet(AVFormatContext *s, · 189 unmodified lines
190190 }
191191 }
192192
193−AVInputFormat ff_mm_demuxer = {
193+const AVInputFormat ff_mm_demuxer = {
194194 .name = "mm",
195195 .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM"),
196196 .priv_data_size = sizeof(MmDemuxContext),
libavformat/mmf.c+2−2
@@ -295,7 +295,7 @@ static int mmf_read_packet(AVFormatContext *s, AVPacket *pkt) · 294 unmodified lines
295295 }
296296
297297 #if CONFIG_MMF_DEMUXER
298−AVInputFormat ff_mmf_demuxer = {
298+const AVInputFormat ff_mmf_demuxer = {
299299 .name = "mmf",
300300 .long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
301301 .priv_data_size = sizeof(MMFContext),
@@ -307,7 +307,7 @@ AVInputFormat ff_mmf_demuxer = { · 5 unmodified lines
307307 #endif
308308
309309 #if CONFIG_MMF_MUXER
310−AVOutputFormat ff_mmf_muxer = {
310+const AVOutputFormat ff_mmf_muxer = {
311311 .name = "mmf",
312312 .long_name = NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
313313 .mime_type = "application/vnd.smaf",
libavformat/mods.c+1−1
@@ -91,7 +91,7 @@ static int mods_read_packet(AVFormatContext *s, AVPacket *pkt) · 90 unmodified lines
9191 return ret;
9292 }
9393
94−AVInputFormat ff_mods_demuxer = {
94+const AVInputFormat ff_mods_demuxer = {
9595 .name = "mods",
9696 .long_name = NULL_IF_CONFIG_SMALL("MobiClip MODS"),
9797 .read_probe = mods_probe,
libavformat/moflex.c+1−1
@@ -375,7 +375,7 @@ static int moflex_read_close(AVFormatContext *s) · 374 unmodified lines
375375 return 0;
376376 }
377377
378−AVInputFormat ff_moflex_demuxer = {
378+const AVInputFormat ff_moflex_demuxer = {
379379 .name = "moflex",
380380 .long_name = NULL_IF_CONFIG_SMALL("MobiClip MOFLEX"),
381381 .priv_data_size = sizeof(MOFLEXDemuxContext),
libavformat/mov.c+1−1
@@ -8220,7 +8220,7 @@ static const AVClass mov_class = { · 8219 unmodified lines
82208220 .version = LIBAVUTIL_VERSION_INT,
82218221 };
82228222
8223−AVInputFormat ff_mov_demuxer = {
8223+const AVInputFormat ff_mov_demuxer = {
82248224 .name = "mov,mp4,m4a,3gp,3g2,mj2",
82258225 .long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"),
82268226 .priv_class = &mov_class,
libavformat/movenc.c+8−8
@@ -7209,7 +7209,7 @@ static const AVCodecTag codec_f4v_tags[] = { · 7208 unmodified lines
72097209
72107210 #if CONFIG_MOV_MUXER
72117211 MOV_CLASS(mov)
7212−AVOutputFormat ff_mov_muxer = {
7212+const AVOutputFormat ff_mov_muxer = {
72137213 .name = "mov",
72147214 .long_name = NULL_IF_CONFIG_SMALL("QuickTime / MOV"),
72157215 .extensions = "mov",
@@ -7232,7 +7232,7 @@ AVOutputFormat ff_mov_muxer = { · 16 unmodified lines
72327232 #endif
72337233 #if CONFIG_TGP_MUXER
72347234 MOV_CLASS(tgp)
7235−AVOutputFormat ff_tgp_muxer = {
7235+const AVOutputFormat ff_tgp_muxer = {
72367236 .name = "3gp",
72377237 .long_name = NULL_IF_CONFIG_SMALL("3GP (3GPP file format)"),
72387238 .extensions = "3gp",
@@ -7252,7 +7252,7 @@ AVOutputFormat ff_tgp_muxer = { · 13 unmodified lines
72527252 #endif
72537253 #if CONFIG_MP4_MUXER
72547254 MOV_CLASS(mp4)
7255−AVOutputFormat ff_mp4_muxer = {
7255+const AVOutputFormat ff_mp4_muxer = {
72567256 .name = "mp4",
72577257 .long_name = NULL_IF_CONFIG_SMALL("MP4 (MPEG-4 Part 14)"),
72587258 .mime_type = "video/mp4",
@@ -7274,7 +7274,7 @@ AVOutputFormat ff_mp4_muxer = { · 15 unmodified lines
72747274 #endif
72757275 #if CONFIG_PSP_MUXER
72767276 MOV_CLASS(psp)
7277−AVOutputFormat ff_psp_muxer = {
7277+const AVOutputFormat ff_psp_muxer = {
72787278 .name = "psp",
72797279 .long_name = NULL_IF_CONFIG_SMALL("PSP MP4 (MPEG-4 Part 14)"),
72807280 .extensions = "mp4,psp",
@@ -7295,7 +7295,7 @@ AVOutputFormat ff_psp_muxer = { · 14 unmodified lines
72957295 #endif
72967296 #if CONFIG_TG2_MUXER
72977297 MOV_CLASS(tg2)
7298−AVOutputFormat ff_tg2_muxer = {
7298+const AVOutputFormat ff_tg2_muxer = {
72997299 .name = "3g2",
73007300 .long_name = NULL_IF_CONFIG_SMALL("3GP2 (3GPP2 file format)"),
73017301 .extensions = "3g2",
@@ -7315,7 +7315,7 @@ AVOutputFormat ff_tg2_muxer = { · 13 unmodified lines
73157315 #endif
73167316 #if CONFIG_IPOD_MUXER
73177317 MOV_CLASS(ipod)
7318−AVOutputFormat ff_ipod_muxer = {
7318+const AVOutputFormat ff_ipod_muxer = {
73197319 .name = "ipod",
73207320 .long_name = NULL_IF_CONFIG_SMALL("iPod H.264 MP4 (MPEG-4 Part 14)"),
73217321 .mime_type = "video/mp4",
@@ -7336,7 +7336,7 @@ AVOutputFormat ff_ipod_muxer = { · 14 unmodified lines
73367336 #endif
73377337 #if CONFIG_ISMV_MUXER
73387338 MOV_CLASS(ismv)
7339−AVOutputFormat ff_ismv_muxer = {
7339+const AVOutputFormat ff_ismv_muxer = {
73407340 .name = "ismv",
73417341 .long_name = NULL_IF_CONFIG_SMALL("ISMV/ISMA (Smooth Streaming)"),
73427342 .mime_type = "video/mp4",
@@ -7358,7 +7358,7 @@ AVOutputFormat ff_ismv_muxer = { · 15 unmodified lines
73587358 #endif
73597359 #if CONFIG_F4V_MUXER
73607360 MOV_CLASS(f4v)
7361−AVOutputFormat ff_f4v_muxer = {
7361+const AVOutputFormat ff_f4v_muxer = {
73627362 .name = "f4v",
73637363 .long_name = NULL_IF_CONFIG_SMALL("F4V Adobe Flash Video"),
73647364 .mime_type = "application/f4v",
libavformat/mp3dec.c+1−1
@@ -606,7 +606,7 @@ static const AVClass demuxer_class = { · 605 unmodified lines
606606 .category = AV_CLASS_CATEGORY_DEMUXER,
607607 };
608608
609−AVInputFormat ff_mp3_demuxer = {
609+const AVInputFormat ff_mp3_demuxer = {
610610 .name = "mp3",
611611 .long_name = NULL_IF_CONFIG_SMALL("MP2/3 (MPEG audio layer 2/3)"),
612612 .read_probe = mp3_read_probe,
libavformat/mp3enc.c+1−1
@@ -636,7 +636,7 @@ static void mp3_deinit(struct AVFormatContext *s) · 635 unmodified lines
636636 av_freep(&mp3->xing_frame);
637637 }
638638
639−AVOutputFormat ff_mp3_muxer = {
639+const AVOutputFormat ff_mp3_muxer = {
640640 .name = "mp3",
641641 .long_name = NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
642642 .mime_type = "audio/mpeg",
libavformat/mpc.c+1−1
@@ -218,7 +218,7 @@ static int mpc_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 217 unmodified lines
218218 }
219219
220220
221−AVInputFormat ff_mpc_demuxer = {
221+const AVInputFormat ff_mpc_demuxer = {
222222 .name = "mpc",
223223 .long_name = NULL_IF_CONFIG_SMALL("Musepack"),
224224 .priv_data_size = sizeof(MPCContext),
libavformat/mpc8.c+1−1
@@ -325,7 +325,7 @@ static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestam · 324 unmodified lines
325325 }
326326
327327
328−AVInputFormat ff_mpc8_demuxer = {
328+const AVInputFormat ff_mpc8_demuxer = {
329329 .name = "mpc8",
330330 .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
331331 .priv_data_size = sizeof(MPCContext),
libavformat/mpeg.c+2−2
@@ -681,7 +681,7 @@ static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index, · 680 unmodified lines
681681 return dts;
682682 }
683683
684−AVInputFormat ff_mpegps_demuxer = {
684+const AVInputFormat ff_mpegps_demuxer = {
685685 .name = "mpeg",
686686 .long_name = NULL_IF_CONFIG_SMALL("MPEG-PS (MPEG-2 Program Stream)"),
687687 .priv_data_size = sizeof(MpegDemuxContext),
@@ -1040,7 +1040,7 @@ static const AVClass vobsub_demuxer_class = { · 352 unmodified lines
10401040 .version = LIBAVUTIL_VERSION_INT,
10411041 };
10421042
1043−AVInputFormat ff_vobsub_demuxer = {
1043+const AVInputFormat ff_vobsub_demuxer = {
10441044 .name = "vobsub",
10451045 .long_name = NULL_IF_CONFIG_SMALL("VobSub subtitle format"),
10461046 .priv_data_size = sizeof(VobSubDemuxContext),
libavformat/mpegenc.c+9−9
@@ -83,10 +83,10 @@ typedef struct MpegMuxContext { · 82 unmodified lines
8383 int preload;
8484 } MpegMuxContext;
8585
86−extern AVOutputFormat ff_mpeg1vcd_muxer;
87−extern AVOutputFormat ff_mpeg2dvd_muxer;
88−extern AVOutputFormat ff_mpeg2svcd_muxer;
89−extern AVOutputFormat ff_mpeg2vob_muxer;
86+extern const AVOutputFormat ff_mpeg1vcd_muxer;
87+extern const AVOutputFormat ff_mpeg2dvd_muxer;
88+extern const AVOutputFormat ff_mpeg2svcd_muxer;
89+extern const AVOutputFormat ff_mpeg2vob_muxer;
9090
9191 static int put_pack_header(AVFormatContext *ctx, uint8_t *buf,
9292 int64_t timestamp)
@@ -1290,7 +1290,7 @@ static const AVClass flavor ## _class = { \ · 1197 unmodified lines
12901290
12911291 #if CONFIG_MPEG1SYSTEM_MUXER
12921292 MPEGENC_CLASS(mpeg)
1293−AVOutputFormat ff_mpeg1system_muxer = {
1293+const AVOutputFormat ff_mpeg1system_muxer = {
12941294 .name = "mpeg",
12951295 .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 Systems / MPEG program stream"),
12961296 .mime_type = "video/mpeg",
@@ -1308,7 +1308,7 @@ AVOutputFormat ff_mpeg1system_muxer = { · 11 unmodified lines
13081308
13091309 #if CONFIG_MPEG1VCD_MUXER
13101310 MPEGENC_CLASS(vcd)
1311−AVOutputFormat ff_mpeg1vcd_muxer = {
1311+const AVOutputFormat ff_mpeg1vcd_muxer = {
13121312 .name = "vcd",
13131313 .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 Systems / MPEG program stream (VCD)"),
13141314 .mime_type = "video/mpeg",
@@ -1325,7 +1325,7 @@ AVOutputFormat ff_mpeg1vcd_muxer = { · 10 unmodified lines
13251325
13261326 #if CONFIG_MPEG2VOB_MUXER
13271327 MPEGENC_CLASS(vob)
1328−AVOutputFormat ff_mpeg2vob_muxer = {
1328+const AVOutputFormat ff_mpeg2vob_muxer = {
13291329 .name = "vob",
13301330 .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (VOB)"),
13311331 .mime_type = "video/mpeg",
@@ -1344,7 +1344,7 @@ AVOutputFormat ff_mpeg2vob_muxer = { · 12 unmodified lines
13441344 /* Same as mpeg2vob_mux except that the pack size is 2324 */
13451345 #if CONFIG_MPEG2SVCD_MUXER
13461346 MPEGENC_CLASS(svcd)
1347−AVOutputFormat ff_mpeg2svcd_muxer = {
1347+const AVOutputFormat ff_mpeg2svcd_muxer = {
13481348 .name = "svcd",
13491349 .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (SVCD)"),
13501350 .mime_type = "video/mpeg",
@@ -1363,7 +1363,7 @@ AVOutputFormat ff_mpeg2svcd_muxer = { · 12 unmodified lines
13631363 /* Same as mpeg2vob_mux except the 'is_dvd' flag is set to produce NAV pkts */
13641364 #if CONFIG_MPEG2DVD_MUXER
13651365 MPEGENC_CLASS(dvd)
1366−AVOutputFormat ff_mpeg2dvd_muxer = {
1366+const AVOutputFormat ff_mpeg2dvd_muxer = {
13671367 .name = "dvd",
13681368 .long_name = NULL_IF_CONFIG_SMALL("MPEG-2 PS (DVD VOB)"),
13691369 .mime_type = "video/mpeg",
libavformat/mpegts.c+3−3
@@ -266,7 +266,7 @@ typedef struct PESContext { · 265 unmodified lines
266266 int merged_st;
267267 } PESContext;
268268
269−extern AVInputFormat ff_mpegts_demuxer;
269+extern const AVInputFormat ff_mpegts_demuxer;
270270
271271 static struct Program * get_program(MpegTSContext *ts, unsigned int programid)
272272 {
@@ -3389,7 +3389,7 @@ void avpriv_mpegts_parse_close(MpegTSContext *ts) · 3116 unmodified lines
33893389 av_free(ts);
33903390 }
33913391
3392−AVInputFormat ff_mpegts_demuxer = {
3392+const AVInputFormat ff_mpegts_demuxer = {
33933393 .name = "mpegts",
33943394 .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
33953395 .priv_data_size = sizeof(MpegTSContext),
@@ -3402,7 +3402,7 @@ AVInputFormat ff_mpegts_demuxer = { · 6 unmodified lines
34023402 .priv_class = &mpegts_class,
34033403 };
34043404
3405−AVInputFormat ff_mpegtsraw_demuxer = {
3405+const AVInputFormat ff_mpegtsraw_demuxer = {
34063406 .name = "mpegtsraw",
34073407 .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-TS (MPEG-2 Transport Stream)"),
34083408 .priv_data_size = sizeof(MpegTSContext),
libavformat/mpegtsenc.c+1−1
@@ -2134,7 +2134,7 @@ static const AVClass mpegts_muxer_class = { · 2133 unmodified lines
21342134 .version = LIBAVUTIL_VERSION_INT,
21352135 };
21362136
2137−AVOutputFormat ff_mpegts_muxer = {
2137+const AVOutputFormat ff_mpegts_muxer = {
21382138 .name = "mpegts",
21392139 .long_name = NULL_IF_CONFIG_SMALL("MPEG-TS (MPEG-2 Transport Stream)"),
21402140 .mime_type = "video/MP2T",
libavformat/mpjpeg.c+1−1
@@ -61,7 +61,7 @@ static const AVClass mpjpeg_muxer_class = { · 60 unmodified lines
6161 .version = LIBAVUTIL_VERSION_INT,
6262 };
6363
64−AVOutputFormat ff_mpjpeg_muxer = {
64+const AVOutputFormat ff_mpjpeg_muxer = {
6565 .name = "mpjpeg",
6666 .long_name = NULL_IF_CONFIG_SMALL("MIME multipart JPEG"),
6767 .mime_type = "multipart/x-mixed-replace;boundary=" BOUNDARY_TAG,
libavformat/mpjpegdec.c+1−1
@@ -380,7 +380,7 @@ static const AVClass mpjpeg_demuxer_class = { · 379 unmodified lines
380380 .version = LIBAVUTIL_VERSION_INT,
381381 };
382382
383−AVInputFormat ff_mpjpeg_demuxer = {
383+const AVInputFormat ff_mpjpeg_demuxer = {
384384 .name = "mpjpeg",
385385 .long_name = NULL_IF_CONFIG_SMALL("MIME multipart JPEG"),
386386 .mime_type = "multipart/x-mixed-replace",
libavformat/mpl2dec.c+1−1
@@ -145,7 +145,7 @@ static int mpl2_read_close(AVFormatContext *s) · 144 unmodified lines
145145 return 0;
146146 }
147147
148−AVInputFormat ff_mpl2_demuxer = {
148+const AVInputFormat ff_mpl2_demuxer = {
149149 .name = "mpl2",
150150 .long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitles"),
151151 .priv_data_size = sizeof(MPL2Context),
libavformat/mpsubdec.c+1−1
@@ -193,7 +193,7 @@ static int mpsub_read_close(AVFormatContext *s) · 192 unmodified lines
193193 return 0;
194194 }
195195
196−AVInputFormat ff_mpsub_demuxer = {
196+const AVInputFormat ff_mpsub_demuxer = {
197197 .name = "mpsub",
198198 .long_name = NULL_IF_CONFIG_SMALL("MPlayer subtitles"),
199199 .priv_data_size = sizeof(MPSubContext),
libavformat/msf.c+1−1
@@ -100,7 +100,7 @@ static int msf_read_packet(AVFormatContext *s, AVPacket *pkt) · 99 unmodified lines
100100 return av_get_packet(s->pb, pkt, par->block_align ? par->block_align : 1024 * par->channels);
101101 }
102102
103−AVInputFormat ff_msf_demuxer = {
103+const AVInputFormat ff_msf_demuxer = {
104104 .name = "msf",
105105 .long_name = NULL_IF_CONFIG_SMALL("Sony PS3 MSF"),
106106 .read_probe = msf_probe,
libavformat/msnwc_tcp.c+1−1
@@ -136,7 +136,7 @@ static int msnwc_tcp_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 135 unmodified lines
136136 return HEADER_SIZE + size;
137137 }
138138
139−AVInputFormat ff_msnwc_tcp_demuxer = {
139+const AVInputFormat ff_msnwc_tcp_demuxer = {
140140 .name = "msnwctcp",
141141 .long_name = NULL_IF_CONFIG_SMALL("MSN TCP Webcam stream"),
142142 .read_probe = msnwc_tcp_probe,
libavformat/mspdec.c+1−1
@@ -106,7 +106,7 @@ static int msp_read_packet(AVFormatContext *s, AVPacket *pkt) · 105 unmodified lines
106106 return 0;
107107 }
108108
109−AVInputFormat ff_msp_demuxer = {
109+const AVInputFormat ff_msp_demuxer = {
110110 .name = "msp",
111111 .long_name = NULL_IF_CONFIG_SMALL("Microsoft Paint (MSP))"),
112112 .read_probe = msp_probe,
libavformat/mtaf.c+1−1
@@ -71,7 +71,7 @@ static int mtaf_read_packet(AVFormatContext *s, AVPacket *pkt) · 70 unmodified lines
7171 return av_get_packet(s->pb, pkt, par->block_align);
7272 }
7373
74−AVInputFormat ff_mtaf_demuxer = {
74+const AVInputFormat ff_mtaf_demuxer = {
7575 .name = "mtaf",
7676 .long_name = NULL_IF_CONFIG_SMALL("Konami PS2 MTAF"),
7777 .read_probe = mtaf_probe,
libavformat/mtv.c+1−1
@@ -225,7 +225,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt) · 224 unmodified lines
225225 return ret;
226226 }
227227
228−AVInputFormat ff_mtv_demuxer = {
228+const AVInputFormat ff_mtv_demuxer = {
229229 .name = "mtv",
230230 .long_name = NULL_IF_CONFIG_SMALL("MTV"),
231231 .priv_data_size = sizeof(MTVDemuxContext),
libavformat/musx.c+1−1
@@ -178,7 +178,7 @@ static int musx_read_packet(AVFormatContext *s, AVPacket *pkt) · 177 unmodified lines
178178 return av_get_packet(s->pb, pkt, par->block_align);
179179 }
180180
181−AVInputFormat ff_musx_demuxer = {
181+const AVInputFormat ff_musx_demuxer = {
182182 .name = "musx",
183183 .long_name = NULL_IF_CONFIG_SMALL("Eurocom MUSX"),
184184 .read_probe = musx_probe,
libavformat/mvdec.c+1−1
@@ -498,7 +498,7 @@ static int mv_read_seek(AVFormatContext *avctx, int stream_index, · 497 unmodified lines
498498 return 0;
499499 }
500500
501−AVInputFormat ff_mv_demuxer = {
501+const AVInputFormat ff_mv_demuxer = {
502502 .name = "mv",
503503 .long_name = NULL_IF_CONFIG_SMALL("Silicon Graphics Movie"),
504504 .priv_data_size = sizeof(MvContext),
libavformat/mvi.c+1−1
@@ -143,7 +143,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 142 unmodified lines
143143 return 0;
144144 }
145145
146−AVInputFormat ff_mvi_demuxer = {
146+const AVInputFormat ff_mvi_demuxer = {
147147 .name = "mvi",
148148 .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI"),
149149 .priv_data_size = sizeof(MviDemuxContext),
libavformat/mxfdec.c+1−1
@@ -3911,7 +3911,7 @@ static const AVClass demuxer_class = { · 3910 unmodified lines
39113911 .category = AV_CLASS_CATEGORY_DEMUXER,
39123912 };
39133913
3914−AVInputFormat ff_mxf_demuxer = {
3914+const AVInputFormat ff_mxf_demuxer = {
39153915 .name = "mxf",
39163916 .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"),
39173917 .flags = AVFMT_SEEK_TO_PTS,
libavformat/mxfenc.c+5−5
@@ -61,8 +61,8 @@ · 60 unmodified lines
6161 #include "mxf.h"
6262 #include "config.h"
6363
64−extern AVOutputFormat ff_mxf_d10_muxer;
65−extern AVOutputFormat ff_mxf_opatom_muxer;
64+extern const AVOutputFormat ff_mxf_d10_muxer;
65+extern const AVOutputFormat ff_mxf_opatom_muxer;
6666
6767 #define EDIT_UNITS_PER_BODY 250
6868 #define KAG_SIZE 512
@@ -3239,7 +3239,7 @@ static const AVClass mxf_opatom_muxer_class = { · 3170 unmodified lines
32393239 .version = LIBAVUTIL_VERSION_INT,
32403240 };
32413241
3242−AVOutputFormat ff_mxf_muxer = {
3242+const AVOutputFormat ff_mxf_muxer = {
32433243 .name = "mxf",
32443244 .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format)"),
32453245 .mime_type = "application/mxf",
@@ -3256,7 +3256,7 @@ AVOutputFormat ff_mxf_muxer = { · 10 unmodified lines
32563256 .priv_class = &mxf_muxer_class,
32573257 };
32583258
3259−AVOutputFormat ff_mxf_d10_muxer = {
3259+const AVOutputFormat ff_mxf_d10_muxer = {
32603260 .name = "mxf_d10",
32613261 .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) D-10 Mapping"),
32623262 .mime_type = "application/mxf",
@@ -3272,7 +3272,7 @@ AVOutputFormat ff_mxf_d10_muxer = { · 9 unmodified lines
32723272 .priv_class = &mxf_d10_muxer_class,
32733273 };
32743274
3275−AVOutputFormat ff_mxf_opatom_muxer = {
3275+const AVOutputFormat ff_mxf_opatom_muxer = {
32763276 .name = "mxf_opatom",
32773277 .long_name = NULL_IF_CONFIG_SMALL("MXF (Material eXchange Format) Operational Pattern Atom"),
32783278 .mime_type = "application/mxf",
libavformat/mxg.c+1−1
@@ -249,7 +249,7 @@ static int mxg_close(struct AVFormatContext *s) · 248 unmodified lines
249249 return 0;
250250 }
251251
252−AVInputFormat ff_mxg_demuxer = {
252+const AVInputFormat ff_mxg_demuxer = {
253253 .name = "mxg",
254254 .long_name = NULL_IF_CONFIG_SMALL("MxPEG clip"),
255255 .priv_data_size = sizeof(MXGContext),
libavformat/ncdec.c+1−1
@@ -90,7 +90,7 @@ static int nc_read_packet(AVFormatContext *s, AVPacket *pkt) · 89 unmodified lines
9090 return size;
9191 }
9292
93−AVInputFormat ff_nc_demuxer = {
93+const AVInputFormat ff_nc_demuxer = {
9494 .name = "nc",
9595 .long_name = NULL_IF_CONFIG_SMALL("NC camera feed"),
9696 .read_probe = nc_probe,
libavformat/nistspheredec.c+1−1
@@ -132,7 +132,7 @@ static int nist_read_header(AVFormatContext *s) · 131 unmodified lines
132132 return AVERROR_EOF;
133133 }
134134
135−AVInputFormat ff_nistsphere_demuxer = {
135+const AVInputFormat ff_nistsphere_demuxer = {
136136 .name = "nistsphere",
137137 .long_name = NULL_IF_CONFIG_SMALL("NIST SPeech HEader REsources"),
138138 .read_probe = nist_probe,
libavformat/nspdec.c+1−1
@@ -96,7 +96,7 @@ static int nsp_read_header(AVFormatContext *s) · 95 unmodified lines
9696 return 0;
9797 }
9898
99−AVInputFormat ff_nsp_demuxer = {
99+const AVInputFormat ff_nsp_demuxer = {
100100 .name = "nsp",
101101 .long_name = NULL_IF_CONFIG_SMALL("Computerized Speech Lab NSP"),
102102 .read_probe = nsp_probe,
libavformat/nsvdec.c+1−1
@@ -734,7 +734,7 @@ static int nsv_probe(const AVProbeData *p) · 733 unmodified lines
734734 return score;
735735 }
736736
737−AVInputFormat ff_nsv_demuxer = {
737+const AVInputFormat ff_nsv_demuxer = {
738738 .name = "nsv",
739739 .long_name = NULL_IF_CONFIG_SMALL("Nullsoft Streaming Video"),
740740 .priv_data_size = sizeof(NSVContext),
libavformat/nullenc.c+1−1
@@ -26,7 +26,7 @@ static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 25 unmodified lines
2626 return 0;
2727 }
2828
29−AVOutputFormat ff_null_muxer = {
29+const AVOutputFormat ff_null_muxer = {
3030 .name = "null",
3131 .long_name = NULL_IF_CONFIG_SMALL("raw null video"),
3232 .audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE),
libavformat/nutdec.c+1−1
@@ -1292,7 +1292,7 @@ static int read_seek(AVFormatContext *s, int stream_index, · 1291 unmodified lines
12921292 return 0;
12931293 }
12941294
1295−AVInputFormat ff_nut_demuxer = {
1295+const AVInputFormat ff_nut_demuxer = {
12961296 .name = "nut",
12971297 .long_name = NULL_IF_CONFIG_SMALL("NUT"),
12981298 .flags = AVFMT_SEEK_TO_PTS,
libavformat/nutenc.c+1−1
@@ -1228,7 +1228,7 @@ static const AVClass class = { · 1227 unmodified lines
12281228 .version = LIBAVUTIL_VERSION_INT,
12291229 };
12301230
1231−AVOutputFormat ff_nut_muxer = {
1231+const AVOutputFormat ff_nut_muxer = {
12321232 .name = "nut",
12331233 .long_name = NULL_IF_CONFIG_SMALL("NUT"),
12341234 .mime_type = "video/x-nut",
libavformat/nuv.c+1−1
@@ -394,7 +394,7 @@ static int64_t nuv_read_dts(AVFormatContext *s, int stream_index, · 393 unmodified lines
394394 }
395395
396396
397−AVInputFormat ff_nuv_demuxer = {
397+const AVInputFormat ff_nuv_demuxer = {
398398 .name = "nuv",
399399 .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo"),
400400 .priv_data_size = sizeof(NUVContext),
libavformat/oggdec.c+1−1
@@ -966,7 +966,7 @@ static int ogg_probe(const AVProbeData *p) · 965 unmodified lines
966966 return 0;
967967 }
968968
969−AVInputFormat ff_ogg_demuxer = {
969+const AVInputFormat ff_ogg_demuxer = {
970970 .name = "ogg",
971971 .long_name = NULL_IF_CONFIG_SMALL("Ogg"),
972972 .priv_data_size = sizeof(struct ogg),
libavformat/oggenc.c+5−5
@@ -745,7 +745,7 @@ static void ogg_free(AVFormatContext *s) · 744 unmodified lines
745745
746746 #if CONFIG_OGG_MUXER
747747 OGG_CLASS(ogg, Ogg)
748−AVOutputFormat ff_ogg_muxer = {
748+const AVOutputFormat ff_ogg_muxer = {
749749 .name = "ogg",
750750 .long_name = NULL_IF_CONFIG_SMALL("Ogg"),
751751 .mime_type = "application/ogg",
@@ -776,7 +776,7 @@ AVOutputFormat ff_ogg_muxer = { · 24 unmodified lines
776776
777777 #if CONFIG_OGA_MUXER
778778 OGG_CLASS(oga, Ogg audio)
779−AVOutputFormat ff_oga_muxer = {
779+const AVOutputFormat ff_oga_muxer = {
780780 .name = "oga",
781781 .long_name = NULL_IF_CONFIG_SMALL("Ogg Audio"),
782782 .mime_type = "audio/ogg",
@@ -795,7 +795,7 @@ AVOutputFormat ff_oga_muxer = { · 12 unmodified lines
795795
796796 #if CONFIG_OGV_MUXER
797797 OGG_CLASS(ogv, Ogg video)
798−AVOutputFormat ff_ogv_muxer = {
798+const AVOutputFormat ff_ogv_muxer = {
799799 .name = "ogv",
800800 .long_name = NULL_IF_CONFIG_SMALL("Ogg Video"),
801801 .mime_type = "video/ogg",
@@ -817,7 +817,7 @@ AVOutputFormat ff_ogv_muxer = { · 15 unmodified lines
817817
818818 #if CONFIG_SPX_MUXER
819819 OGG_CLASS(spx, Ogg Speex)
820−AVOutputFormat ff_spx_muxer = {
820+const AVOutputFormat ff_spx_muxer = {
821821 .name = "spx",
822822 .long_name = NULL_IF_CONFIG_SMALL("Ogg Speex"),
823823 .mime_type = "audio/ogg",
@@ -836,7 +836,7 @@ AVOutputFormat ff_spx_muxer = { · 12 unmodified lines
836836
837837 #if CONFIG_OPUS_MUXER
838838 OGG_CLASS(opus, Ogg Opus)
839−AVOutputFormat ff_opus_muxer = {
839+const AVOutputFormat ff_opus_muxer = {
840840 .name = "opus",
841841 .long_name = NULL_IF_CONFIG_SMALL("Ogg Opus"),
842842 .mime_type = "audio/ogg",
libavformat/omadec.c+1−1
@@ -624,7 +624,7 @@ wipe: · 623 unmodified lines
624624 return err;
625625 }
626626
627−AVInputFormat ff_oma_demuxer = {
627+const AVInputFormat ff_oma_demuxer = {
628628 .name = "oma",
629629 .long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
630630 .priv_data_size = sizeof(OMAContext),
libavformat/omaenc.c+1−1
@@ -94,7 +94,7 @@ static av_cold int oma_write_header(AVFormatContext *s) · 93 unmodified lines
9494 return 0;
9595 }
9696
97−AVOutputFormat ff_oma_muxer = {
97+const AVOutputFormat ff_oma_muxer = {
9898 .name = "oma",
9999 .long_name = NULL_IF_CONFIG_SMALL("Sony OpenMG audio"),
100100 .mime_type = "audio/x-oma",
libavformat/paf.c+1−1
@@ -271,7 +271,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) · 270 unmodified lines
271271 return pkt->size;
272272 }
273273
274−AVInputFormat ff_paf_demuxer = {
274+const AVInputFormat ff_paf_demuxer = {
275275 .name = "paf",
276276 .long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File"),
277277 .priv_data_size = sizeof(PAFDemuxContext),
libavformat/pcmdec.c+2−2
@@ -108,7 +108,7 @@ static const AVClass name_ ## _demuxer_class = { \ · 107 unmodified lines
108108 .option = pcm_options, \
109109 .version = LIBAVUTIL_VERSION_INT, \
110110 }; \
111−AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \
111+const AVInputFormat ff_pcm_ ## name_ ## _demuxer = { \
112112 .name = #name_, \
113113 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
114114 .priv_data_size = sizeof(PCMAudioDemuxerContext), \
@@ -168,7 +168,7 @@ static const AVClass sln_demuxer_class = { · 53 unmodified lines
168168 .version = LIBAVUTIL_VERSION_INT,
169169 };
170170
171−AVInputFormat ff_sln_demuxer = {
171+const AVInputFormat ff_sln_demuxer = {
172172 .name = "sln",
173173 .long_name = NULL_IF_CONFIG_SMALL("Asterisk raw pcm"),
174174 .priv_data_size = sizeof(PCMAudioDemuxerContext),
libavformat/pcmenc.c+1−1
@@ -24,7 +24,7 @@ · 23 unmodified lines
2424
2525 #define PCMDEF_0(name_, long_name_, ext, codec)
2626 #define PCMDEF_1(name_, long_name_, ext, codec) \
27−AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \
27+const AVOutputFormat ff_pcm_ ## name_ ## _muxer = { \
2828 .name = #name_, \
2929 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
3030 .extensions = ext, \
libavformat/pjsdec.c+1−1
@@ -128,7 +128,7 @@ static int pjs_read_close(AVFormatContext *s) · 127 unmodified lines
128128 return 0;
129129 }
130130
131−AVInputFormat ff_pjs_demuxer = {
131+const AVInputFormat ff_pjs_demuxer = {
132132 .name = "pjs",
133133 .long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitles"),
134134 .priv_data_size = sizeof(PJSContext),
libavformat/pmpdec.c+1−1
@@ -183,7 +183,7 @@ static int pmp_close(AVFormatContext *s) · 182 unmodified lines
183183 return 0;
184184 }
185185
186−AVInputFormat ff_pmp_demuxer = {
186+const AVInputFormat ff_pmp_demuxer = {
187187 .name = "pmp",
188188 .long_name = NULL_IF_CONFIG_SMALL("Playstation Portable PMP"),
189189 .priv_data_size = sizeof(PMPContext),
libavformat/pp_bnk.c+1−1
@@ -332,7 +332,7 @@ static int pp_bnk_seek(AVFormatContext *s, int stream_index, · 331 unmodified lines
332332 return 0;
333333 }
334334
335−AVInputFormat ff_pp_bnk_demuxer = {
335+const AVInputFormat ff_pp_bnk_demuxer = {
336336 .name = "pp_bnk",
337337 .long_name = NULL_IF_CONFIG_SMALL("Pro Pinball Series Soundbank"),
338338 .priv_data_size = sizeof(PPBnkCtx),
libavformat/psxstr.c+1−1
@@ -299,7 +299,7 @@ static int str_read_close(AVFormatContext *s) · 298 unmodified lines
299299 return 0;
300300 }
301301
302−AVInputFormat ff_str_demuxer = {
302+const AVInputFormat ff_str_demuxer = {
303303 .name = "psxstr",
304304 .long_name = NULL_IF_CONFIG_SMALL("Sony Playstation STR"),
305305 .priv_data_size = sizeof(StrDemuxContext),
libavformat/pva.c+1−1
@@ -227,7 +227,7 @@ static int64_t pva_read_timestamp(struct AVFormatContext *s, int stream_index, · 226 unmodified lines
227227 return res;
228228 }
229229
230−AVInputFormat ff_pva_demuxer = {
230+const AVInputFormat ff_pva_demuxer = {
231231 .name = "pva",
232232 .long_name = NULL_IF_CONFIG_SMALL("TechnoTrend PVA"),
233233 .priv_data_size = sizeof(PVAContext),
libavformat/pvfdec.c+1−1
@@ -65,7 +65,7 @@ static int pvf_read_header(AVFormatContext *s) · 64 unmodified lines
6565 return 0;
6666 }
6767
68−AVInputFormat ff_pvf_demuxer = {
68+const AVInputFormat ff_pvf_demuxer = {
6969 .name = "pvf",
7070 .long_name = NULL_IF_CONFIG_SMALL("PVF (Portable Voice Format)"),
7171 .read_probe = pvf_probe,
libavformat/qcp.c+1−1
@@ -195,7 +195,7 @@ static int qcp_read_packet(AVFormatContext *s, AVPacket *pkt) · 194 unmodified lines
195195 return AVERROR_EOF;
196196 }
197197
198−AVInputFormat ff_qcp_demuxer = {
198+const AVInputFormat ff_qcp_demuxer = {
199199 .name = "qcp",
200200 .long_name = NULL_IF_CONFIG_SMALL("QCP"),
201201 .priv_data_size = sizeof(QCPContext),
libavformat/r3d.c+1−1
@@ -400,7 +400,7 @@ static int r3d_seek(AVFormatContext *s, int stream_index, int64_t sample_time, i · 399 unmodified lines
400400 return 0;
401401 }
402402
403−AVInputFormat ff_r3d_demuxer = {
403+const AVInputFormat ff_r3d_demuxer = {
404404 .name = "r3d",
405405 .long_name = NULL_IF_CONFIG_SMALL("REDCODE R3D"),
406406 .priv_data_size = sizeof(R3DContext),
libavformat/rawdec.c+1−1
@@ -133,7 +133,7 @@ const AVOption ff_raw_options[] = { · 132 unmodified lines
133133 #if CONFIG_DATA_DEMUXER
134134 FF_RAW_DEMUXER_CLASS(raw_data)
135135
136−AVInputFormat ff_data_demuxer = {
136+const AVInputFormat ff_data_demuxer = {
137137 .name = "data",
138138 .long_name = NULL_IF_CONFIG_SMALL("raw data"),
139139 .read_header = ff_raw_data_read_header,
libavformat/rawdec.h+2−2
@@ -70,7 +70,7 @@ static const AVClass name ## _demuxer_class = {\ · 69 unmodified lines
7070
7171 #define FF_DEF_RAWVIDEO_DEMUXER2(shortname, longname, probe, ext, id, flag)\
7272 FF_RAWVIDEO_DEMUXER_CLASS(shortname)\
73−AVInputFormat ff_ ## shortname ## _demuxer = {\
73+const AVInputFormat ff_ ## shortname ## _demuxer = {\
7474 .name = #shortname,\
7575 .long_name = NULL_IF_CONFIG_SMALL(longname),\
7676 .read_probe = probe,\
@@ -96,7 +96,7 @@ static const AVClass name ## _demuxer_class = {\ · 19 unmodified lines
9696
9797 #define FF_DEF_RAWSUB_DEMUXER(shortname, longname, probe, ext, id, flag)\
9898 FF_RAWSUB_DEMUXER_CLASS(shortname)\
99−AVInputFormat ff_ ## shortname ## _demuxer = {\
99+const AVInputFormat ff_ ## shortname ## _demuxer = {\
100100 .name = #shortname,\
101101 .long_name = NULL_IF_CONFIG_SMALL(longname),\
102102 .read_probe = probe,\
libavformat/rawenc.c+31−31
@@ -57,7 +57,7 @@ static int force_one_stream(AVFormatContext *s) · 56 unmodified lines
5757 /* Note: Do not forget to add new entries to the Makefile as well. */
5858
5959 #if CONFIG_AC3_MUXER
60−AVOutputFormat ff_ac3_muxer = {
60+const AVOutputFormat ff_ac3_muxer = {
6161 .name = "ac3",
6262 .long_name = NULL_IF_CONFIG_SMALL("raw AC-3"),
6363 .mime_type = "audio/x-ac3",
@@ -90,7 +90,7 @@ static int adx_write_trailer(AVFormatContext *s) · 26 unmodified lines
9090 return 0;
9191 }
9292
93−AVOutputFormat ff_adx_muxer = {
93+const AVOutputFormat ff_adx_muxer = {
9494 .name = "adx",
9595 .long_name = NULL_IF_CONFIG_SMALL("CRI ADX"),
9696 .extensions = "adx",
@@ -104,7 +104,7 @@ AVOutputFormat ff_adx_muxer = { · 7 unmodified lines
104104 #endif
105105
106106 #if CONFIG_APTX_MUXER
107−AVOutputFormat ff_aptx_muxer = {
107+const AVOutputFormat ff_aptx_muxer = {
108108 .name = "aptx",
109109 .long_name = NULL_IF_CONFIG_SMALL("raw aptX (Audio Processing Technology for Bluetooth)"),
110110 .extensions = "aptx",
@@ -117,7 +117,7 @@ AVOutputFormat ff_aptx_muxer = { · 6 unmodified lines
117117 #endif
118118
119119 #if CONFIG_APTX_HD_MUXER
120−AVOutputFormat ff_aptx_hd_muxer = {
120+const AVOutputFormat ff_aptx_hd_muxer = {
121121 .name = "aptx_hd",
122122 .long_name = NULL_IF_CONFIG_SMALL("raw aptX HD (Audio Processing Technology for Bluetooth)"),
123123 .extensions = "aptxhd",
@@ -130,7 +130,7 @@ AVOutputFormat ff_aptx_hd_muxer = { · 6 unmodified lines
130130 #endif
131131
132132 #if CONFIG_AVS2_MUXER
133−AVOutputFormat ff_avs2_muxer = {
133+const AVOutputFormat ff_avs2_muxer = {
134134 .name = "avs2",
135135 .long_name = NULL_IF_CONFIG_SMALL("raw AVS2-P2/IEEE1857.4 video"),
136136 .extensions = "avs,avs2",
@@ -143,7 +143,7 @@ AVOutputFormat ff_avs2_muxer = { · 6 unmodified lines
143143 #endif
144144
145145 #if CONFIG_CAVSVIDEO_MUXER
146−AVOutputFormat ff_cavsvideo_muxer = {
146+const AVOutputFormat ff_cavsvideo_muxer = {
147147 .name = "cavsvideo",
148148 .long_name = NULL_IF_CONFIG_SMALL("raw Chinese AVS (Audio Video Standard) video"),
149149 .extensions = "cavs",
@@ -156,7 +156,7 @@ AVOutputFormat ff_cavsvideo_muxer = { · 6 unmodified lines
156156 #endif
157157
158158 #if CONFIG_CODEC2RAW_MUXER
159−AVOutputFormat ff_codec2raw_muxer = {
159+const AVOutputFormat ff_codec2raw_muxer = {
160160 .name = "codec2raw",
161161 .long_name = NULL_IF_CONFIG_SMALL("raw codec2 muxer"),
162162 .audio_codec = AV_CODEC_ID_CODEC2,
@@ -169,7 +169,7 @@ AVOutputFormat ff_codec2raw_muxer = { · 6 unmodified lines
169169
170170
171171 #if CONFIG_DATA_MUXER
172−AVOutputFormat ff_data_muxer = {
172+const AVOutputFormat ff_data_muxer = {
173173 .name = "data",
174174 .long_name = NULL_IF_CONFIG_SMALL("raw data"),
175175 .init = force_one_stream,
@@ -179,7 +179,7 @@ AVOutputFormat ff_data_muxer = { · 3 unmodified lines
179179 #endif
180180
181181 #if CONFIG_DIRAC_MUXER
182−AVOutputFormat ff_dirac_muxer = {
182+const AVOutputFormat ff_dirac_muxer = {
183183 .name = "dirac",
184184 .long_name = NULL_IF_CONFIG_SMALL("raw Dirac"),
185185 .extensions = "drc,vc2",
@@ -192,7 +192,7 @@ AVOutputFormat ff_dirac_muxer = { · 6 unmodified lines
192192 #endif
193193
194194 #if CONFIG_DNXHD_MUXER
195−AVOutputFormat ff_dnxhd_muxer = {
195+const AVOutputFormat ff_dnxhd_muxer = {
196196 .name = "dnxhd",
197197 .long_name = NULL_IF_CONFIG_SMALL("raw DNxHD (SMPTE VC-3)"),
198198 .extensions = "dnxhd,dnxhr",
@@ -205,7 +205,7 @@ AVOutputFormat ff_dnxhd_muxer = { · 6 unmodified lines
205205 #endif
206206
207207 #if CONFIG_DTS_MUXER
208−AVOutputFormat ff_dts_muxer = {
208+const AVOutputFormat ff_dts_muxer = {
209209 .name = "dts",
210210 .long_name = NULL_IF_CONFIG_SMALL("raw DTS"),
211211 .mime_type = "audio/x-dca",
@@ -219,7 +219,7 @@ AVOutputFormat ff_dts_muxer = { · 7 unmodified lines
219219 #endif
220220
221221 #if CONFIG_EAC3_MUXER
222−AVOutputFormat ff_eac3_muxer = {
222+const AVOutputFormat ff_eac3_muxer = {
223223 .name = "eac3",
224224 .long_name = NULL_IF_CONFIG_SMALL("raw E-AC-3"),
225225 .mime_type = "audio/x-eac3",
@@ -233,7 +233,7 @@ AVOutputFormat ff_eac3_muxer = { · 7 unmodified lines
233233 #endif
234234
235235 #if CONFIG_G722_MUXER
236−AVOutputFormat ff_g722_muxer = {
236+const AVOutputFormat ff_g722_muxer = {
237237 .name = "g722",
238238 .long_name = NULL_IF_CONFIG_SMALL("raw G.722"),
239239 .mime_type = "audio/G722",
@@ -247,7 +247,7 @@ AVOutputFormat ff_g722_muxer = { · 7 unmodified lines
247247 #endif
248248
249249 #if CONFIG_G723_1_MUXER
250−AVOutputFormat ff_g723_1_muxer = {
250+const AVOutputFormat ff_g723_1_muxer = {
251251 .name = "g723_1",
252252 .long_name = NULL_IF_CONFIG_SMALL("raw G.723.1"),
253253 .mime_type = "audio/g723",
@@ -261,7 +261,7 @@ AVOutputFormat ff_g723_1_muxer = { · 7 unmodified lines
261261 #endif
262262
263263 #if CONFIG_G726_MUXER
264−AVOutputFormat ff_g726_muxer = {
264+const AVOutputFormat ff_g726_muxer = {
265265 .name = "g726",
266266 .long_name = NULL_IF_CONFIG_SMALL("raw big-endian G.726 (\"left-justified\")"),
267267 .audio_codec = AV_CODEC_ID_ADPCM_G726,
@@ -273,7 +273,7 @@ AVOutputFormat ff_g726_muxer = { · 5 unmodified lines
273273 #endif
274274
275275 #if CONFIG_G726LE_MUXER
276−AVOutputFormat ff_g726le_muxer = {
276+const AVOutputFormat ff_g726le_muxer = {
277277 .name = "g726le",
278278 .long_name = NULL_IF_CONFIG_SMALL("raw little-endian G.726 (\"right-justified\")"),
279279 .audio_codec = AV_CODEC_ID_ADPCM_G726LE,
@@ -285,7 +285,7 @@ AVOutputFormat ff_g726le_muxer = { · 5 unmodified lines
285285 #endif
286286
287287 #if CONFIG_GSM_MUXER
288−AVOutputFormat ff_gsm_muxer = {
288+const AVOutputFormat ff_gsm_muxer = {
289289 .name = "gsm",
290290 .long_name = NULL_IF_CONFIG_SMALL("raw GSM"),
291291 .mime_type = "audio/x-gsm",
@@ -299,7 +299,7 @@ AVOutputFormat ff_gsm_muxer = { · 7 unmodified lines
299299 #endif
300300
301301 #if CONFIG_H261_MUXER
302−AVOutputFormat ff_h261_muxer = {
302+const AVOutputFormat ff_h261_muxer = {
303303 .name = "h261",
304304 .long_name = NULL_IF_CONFIG_SMALL("raw H.261"),
305305 .mime_type = "video/x-h261",
@@ -313,7 +313,7 @@ AVOutputFormat ff_h261_muxer = { · 7 unmodified lines
313313 #endif
314314
315315 #if CONFIG_H263_MUXER
316−AVOutputFormat ff_h263_muxer = {
316+const AVOutputFormat ff_h263_muxer = {
317317 .name = "h263",
318318 .long_name = NULL_IF_CONFIG_SMALL("raw H.263"),
319319 .mime_type = "video/x-h263",
@@ -336,7 +336,7 @@ static int h264_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 16 unmodified lines
336336 return 1;
337337 }
338338
339−AVOutputFormat ff_h264_muxer = {
339+const AVOutputFormat ff_h264_muxer = {
340340 .name = "h264",
341341 .long_name = NULL_IF_CONFIG_SMALL("raw H.264 video"),
342342 .extensions = "h264,264",
@@ -359,7 +359,7 @@ static int hevc_check_bitstream(struct AVFormatContext *s, const AVPacket *pkt) · 16 unmodified lines
359359 return 1;
360360 }
361361
362−AVOutputFormat ff_hevc_muxer = {
362+const AVOutputFormat ff_hevc_muxer = {
363363 .name = "hevc",
364364 .long_name = NULL_IF_CONFIG_SMALL("raw HEVC video"),
365365 .extensions = "hevc,h265,265",
@@ -373,7 +373,7 @@ AVOutputFormat ff_hevc_muxer = { · 7 unmodified lines
373373 #endif
374374
375375 #if CONFIG_M4V_MUXER
376−AVOutputFormat ff_m4v_muxer = {
376+const AVOutputFormat ff_m4v_muxer = {
377377 .name = "m4v",
378378 .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-4 video"),
379379 .extensions = "m4v",
@@ -386,7 +386,7 @@ AVOutputFormat ff_m4v_muxer = { · 6 unmodified lines
386386 #endif
387387
388388 #if CONFIG_MJPEG_MUXER
389−AVOutputFormat ff_mjpeg_muxer = {
389+const AVOutputFormat ff_mjpeg_muxer = {
390390 .name = "mjpeg",
391391 .long_name = NULL_IF_CONFIG_SMALL("raw MJPEG video"),
392392 .mime_type = "video/x-mjpeg",
@@ -400,7 +400,7 @@ AVOutputFormat ff_mjpeg_muxer = { · 7 unmodified lines
400400 #endif
401401
402402 #if CONFIG_MLP_MUXER
403−AVOutputFormat ff_mlp_muxer = {
403+const AVOutputFormat ff_mlp_muxer = {
404404 .name = "mlp",
405405 .long_name = NULL_IF_CONFIG_SMALL("raw MLP"),
406406 .extensions = "mlp",
@@ -413,7 +413,7 @@ AVOutputFormat ff_mlp_muxer = { · 6 unmodified lines
413413 #endif
414414
415415 #if CONFIG_MP2_MUXER
416−AVOutputFormat ff_mp2_muxer = {
416+const AVOutputFormat ff_mp2_muxer = {
417417 .name = "mp2",
418418 .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
419419 .mime_type = "audio/mpeg",
@@ -427,7 +427,7 @@ AVOutputFormat ff_mp2_muxer = { · 7 unmodified lines
427427 #endif
428428
429429 #if CONFIG_MPEG1VIDEO_MUXER
430−AVOutputFormat ff_mpeg1video_muxer = {
430+const AVOutputFormat ff_mpeg1video_muxer = {
431431 .name = "mpeg1video",
432432 .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-1 video"),
433433 .mime_type = "video/mpeg",
@@ -441,7 +441,7 @@ AVOutputFormat ff_mpeg1video_muxer = { · 7 unmodified lines
441441 #endif
442442
443443 #if CONFIG_MPEG2VIDEO_MUXER
444−AVOutputFormat ff_mpeg2video_muxer = {
444+const AVOutputFormat ff_mpeg2video_muxer = {
445445 .name = "mpeg2video",
446446 .long_name = NULL_IF_CONFIG_SMALL("raw MPEG-2 video"),
447447 .extensions = "m2v",
@@ -454,7 +454,7 @@ AVOutputFormat ff_mpeg2video_muxer = { · 6 unmodified lines
454454 #endif
455455
456456 #if CONFIG_RAWVIDEO_MUXER
457−AVOutputFormat ff_rawvideo_muxer = {
457+const AVOutputFormat ff_rawvideo_muxer = {
458458 .name = "rawvideo",
459459 .long_name = NULL_IF_CONFIG_SMALL("raw video"),
460460 .extensions = "yuv,rgb",
@@ -466,7 +466,7 @@ AVOutputFormat ff_rawvideo_muxer = { · 5 unmodified lines
466466 #endif
467467
468468 #if CONFIG_SBC_MUXER
469−AVOutputFormat ff_sbc_muxer = {
469+const AVOutputFormat ff_sbc_muxer = {
470470 .name = "sbc",
471471 .long_name = NULL_IF_CONFIG_SMALL("raw SBC"),
472472 .mime_type = "audio/x-sbc",
@@ -479,7 +479,7 @@ AVOutputFormat ff_sbc_muxer = { · 6 unmodified lines
479479 #endif
480480
481481 #if CONFIG_TRUEHD_MUXER
482−AVOutputFormat ff_truehd_muxer = {
482+const AVOutputFormat ff_truehd_muxer = {
483483 .name = "truehd",
484484 .long_name = NULL_IF_CONFIG_SMALL("raw TrueHD"),
485485 .extensions = "thd",
@@ -492,7 +492,7 @@ AVOutputFormat ff_truehd_muxer = { · 6 unmodified lines
492492 #endif
493493
494494 #if CONFIG_VC1_MUXER
495−AVOutputFormat ff_vc1_muxer = {
495+const AVOutputFormat ff_vc1_muxer = {
496496 .name = "vc1",
497497 .long_name = NULL_IF_CONFIG_SMALL("raw VC-1 video"),
498498 .extensions = "vc1",
libavformat/rawvideodec.c+1−1
@@ -100,7 +100,7 @@ static const AVClass rawvideo_demuxer_class = { · 99 unmodified lines
100100 .version = LIBAVUTIL_VERSION_INT,
101101 };
102102
103−AVInputFormat ff_rawvideo_demuxer = {
103+const AVInputFormat ff_rawvideo_demuxer = {
104104 .name = "rawvideo",
105105 .long_name = NULL_IF_CONFIG_SMALL("raw video"),
106106 .priv_data_size = sizeof(RawVideoDemuxerContext),
libavformat/realtextdec.c+1−1
@@ -149,7 +149,7 @@ static int realtext_read_close(AVFormatContext *s) · 148 unmodified lines
149149 return 0;
150150 }
151151
152−AVInputFormat ff_realtext_demuxer = {
152+const AVInputFormat ff_realtext_demuxer = {
153153 .name = "realtext",
154154 .long_name = NULL_IF_CONFIG_SMALL("RealText subtitle format"),
155155 .priv_data_size = sizeof(RealTextContext),
libavformat/redspark.c+1−1
@@ -150,7 +150,7 @@ static int redspark_read_packet(AVFormatContext *s, AVPacket *pkt) · 149 unmodified lines
150150 return ret;
151151 }
152152
153−AVInputFormat ff_redspark_demuxer = {
153+const AVInputFormat ff_redspark_demuxer = {
154154 .name = "redspark",
155155 .long_name = NULL_IF_CONFIG_SMALL("RedSpark"),
156156 .priv_data_size = sizeof(RedSparkContext),
libavformat/rl2.c+1−1
@@ -300,7 +300,7 @@ static int rl2_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 299 unmodified lines
300300 return 0;
301301 }
302302
303−AVInputFormat ff_rl2_demuxer = {
303+const AVInputFormat ff_rl2_demuxer = {
304304 .name = "rl2",
305305 .long_name = NULL_IF_CONFIG_SMALL("RL2"),
306306 .priv_data_size = sizeof(Rl2DemuxContext),
libavformat/rm.h+1−1
@@ -34,7 +34,7 @@ RMStream *ff_rm_alloc_rmstream (void); · 33 unmodified lines
3434 void ff_rm_free_rmstream (RMStream *rms);
3535
3636 /*< input format for Realmedia-style RTSP streams */
37−extern AVInputFormat ff_rdt_demuxer;
37+extern const AVInputFormat ff_rdt_demuxer;
3838
3939 /**
4040 * Read the MDPR chunk, which contains stream-specific codec initialization
libavformat/rmdec.c+3−3
@@ -1147,7 +1147,7 @@ static int rm_read_seek(AVFormatContext *s, int stream_index, · 1146 unmodified lines
11471147 }
11481148
11491149
1150−AVInputFormat ff_rm_demuxer = {
1150+const AVInputFormat ff_rm_demuxer = {
11511151 .name = "rm",
11521152 .long_name = NULL_IF_CONFIG_SMALL("RealMedia"),
11531153 .priv_data_size = sizeof(RMDemuxContext),
@@ -1159,7 +1159,7 @@ AVInputFormat ff_rm_demuxer = { · 5 unmodified lines
11591159 .read_seek = rm_read_seek,
11601160 };
11611161
1162−AVInputFormat ff_rdt_demuxer = {
1162+const AVInputFormat ff_rdt_demuxer = {
11631163 .name = "rdt",
11641164 .long_name = NULL_IF_CONFIG_SMALL("RDT demuxer"),
11651165 .priv_data_size = sizeof(RMDemuxContext),
@@ -1406,7 +1406,7 @@ static int ivr_read_packet(AVFormatContext *s, AVPacket *pkt) · 240 unmodified lines
14061406 return ret;
14071407 }
14081408
1409−AVInputFormat ff_ivr_demuxer = {
1409+const AVInputFormat ff_ivr_demuxer = {
14101410 .name = "ivr",
14111411 .long_name = NULL_IF_CONFIG_SMALL("IVR (Internet Video Recording)"),
14121412 .priv_data_size = sizeof(RMDemuxContext),
libavformat/rmenc.c+1−1
@@ -465,7 +465,7 @@ static int rm_write_trailer(AVFormatContext *s) · 464 unmodified lines
465465 }
466466
467467
468−AVOutputFormat ff_rm_muxer = {
468+const AVOutputFormat ff_rm_muxer = {
469469 .name = "rm",
470470 .long_name = NULL_IF_CONFIG_SMALL("RealMedia"),
471471 .mime_type = "application/vnd.rn-realmedia",
libavformat/rpl.c+1−1
@@ -382,7 +382,7 @@ static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt) · 381 unmodified lines
382382 return ret;
383383 }
384384
385−AVInputFormat ff_rpl_demuxer = {
385+const AVInputFormat ff_rpl_demuxer = {
386386 .name = "rpl",
387387 .long_name = NULL_IF_CONFIG_SMALL("RPL / ARMovie"),
388388 .priv_data_size = sizeof(RPLContext),
libavformat/rsd.c+1−1
@@ -220,7 +220,7 @@ static int rsd_read_packet(AVFormatContext *s, AVPacket *pkt) · 219 unmodified lines
220220 return ret;
221221 }
222222
223−AVInputFormat ff_rsd_demuxer = {
223+const AVInputFormat ff_rsd_demuxer = {
224224 .name = "rsd",
225225 .long_name = NULL_IF_CONFIG_SMALL("GameCube RSD"),
226226 .read_probe = rsd_probe,
libavformat/rsodec.c+1−1
@@ -72,7 +72,7 @@ static int rso_read_header(AVFormatContext *s) · 71 unmodified lines
7272 return 0;
7373 }
7474
75−AVInputFormat ff_rso_demuxer = {
75+const AVInputFormat ff_rso_demuxer = {
7676 .name = "rso",
7777 .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
7878 .extensions = "rso",
libavformat/rsoenc.c+1−1
@@ -91,7 +91,7 @@ static int rso_write_trailer(AVFormatContext *s) · 90 unmodified lines
9191 return 0;
9292 }
9393
94−AVOutputFormat ff_rso_muxer = {
94+const AVOutputFormat ff_rso_muxer = {
9595 .name = "rso",
9696 .long_name = NULL_IF_CONFIG_SMALL("Lego Mindstorms RSO"),
9797 .extensions = "rso",
libavformat/rtpenc.c+1−1
@@ -648,7 +648,7 @@ static int rtp_write_trailer(AVFormatContext *s1) · 647 unmodified lines
648648 return 0;
649649 }
650650
651−AVOutputFormat ff_rtp_muxer = {
651+const AVOutputFormat ff_rtp_muxer = {
652652 .name = "rtp",
653653 .long_name = NULL_IF_CONFIG_SMALL("RTP output"),
654654 .priv_data_size = sizeof(RTPMuxContext),
libavformat/rtpenc_mpegts.c+1−1
@@ -187,7 +187,7 @@ static const AVClass rtp_mpegts_class = { · 186 unmodified lines
187187 .version = LIBAVUTIL_VERSION_INT,
188188 };
189189
190−AVOutputFormat ff_rtp_mpegts_muxer = {
190+const AVOutputFormat ff_rtp_mpegts_muxer = {
191191 .name = "rtp_mpegts",
192192 .long_name = NULL_IF_CONFIG_SMALL("RTP/mpegts output format"),
193193 .priv_data_size = sizeof(MuxChain),
libavformat/rtsp.c+2−2
@@ -2464,7 +2464,7 @@ static const AVClass sdp_demuxer_class = { · 2463 unmodified lines
24642464 .version = LIBAVUTIL_VERSION_INT,
24652465 };
24662466
2467−AVInputFormat ff_sdp_demuxer = {
2467+const AVInputFormat ff_sdp_demuxer = {
24682468 .name = "sdp",
24692469 .long_name = NULL_IF_CONFIG_SMALL("SDP"),
24702470 .priv_data_size = sizeof(RTSPState),
@@ -2623,7 +2623,7 @@ static const AVClass rtp_demuxer_class = { · 152 unmodified lines
26232623 .version = LIBAVUTIL_VERSION_INT,
26242624 };
26252625
2626−AVInputFormat ff_rtp_demuxer = {
2626+const AVInputFormat ff_rtp_demuxer = {
26272627 .name = "rtp",
26282628 .long_name = NULL_IF_CONFIG_SMALL("RTP input"),
26292629 .priv_data_size = sizeof(RTSPState),
libavformat/rtspdec.c+1−1
@@ -983,7 +983,7 @@ static const AVClass rtsp_demuxer_class = { · 982 unmodified lines
983983 .version = LIBAVUTIL_VERSION_INT,
984984 };
985985
986−AVInputFormat ff_rtsp_demuxer = {
986+const AVInputFormat ff_rtsp_demuxer = {
987987 .name = "rtsp",
988988 .long_name = NULL_IF_CONFIG_SMALL("RTSP input"),
989989 .priv_data_size = sizeof(RTSPState),
libavformat/rtspenc.c+1−1
@@ -240,7 +240,7 @@ static int rtsp_write_close(AVFormatContext *s) · 239 unmodified lines
240240 return 0;
241241 }
242242
243−AVOutputFormat ff_rtsp_muxer = {
243+const AVOutputFormat ff_rtsp_muxer = {
244244 .name = "rtsp",
245245 .long_name = NULL_IF_CONFIG_SMALL("RTSP output"),
246246 .priv_data_size = sizeof(RTSPState),
libavformat/s337m.c+1−1
@@ -186,7 +186,7 @@ static int s337m_read_packet(AVFormatContext *s, AVPacket *pkt) · 185 unmodified lines
186186 return 0;
187187 }
188188
189−AVInputFormat ff_s337m_demuxer = {
189+const AVInputFormat ff_s337m_demuxer = {
190190 .name = "s337m",
191191 .long_name = NULL_IF_CONFIG_SMALL("SMPTE 337M"),
192192 .read_probe = s337m_probe,
libavformat/samidec.c+1−1
@@ -142,7 +142,7 @@ static int sami_read_close(AVFormatContext *s) · 141 unmodified lines
142142 return 0;
143143 }
144144
145−AVInputFormat ff_sami_demuxer = {
145+const AVInputFormat ff_sami_demuxer = {
146146 .name = "sami",
147147 .long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle format"),
148148 .priv_data_size = sizeof(SAMIContext),
libavformat/sapdec.c+1−1
@@ -234,7 +234,7 @@ static int sap_fetch_packet(AVFormatContext *s, AVPacket *pkt) · 233 unmodified lines
234234 return ret;
235235 }
236236
237−AVInputFormat ff_sap_demuxer = {
237+const AVInputFormat ff_sap_demuxer = {
238238 .name = "sap",
239239 .long_name = NULL_IF_CONFIG_SMALL("SAP input"),
240240 .priv_data_size = sizeof(struct SAPState),
libavformat/sapenc.c+1−1
@@ -267,7 +267,7 @@ static int sap_write_packet(AVFormatContext *s, AVPacket *pkt) · 266 unmodified lines
267267 return ff_write_chained(rtpctx, 0, pkt, s, 0);
268268 }
269269
270−AVOutputFormat ff_sap_muxer = {
270+const AVOutputFormat ff_sap_muxer = {
271271 .name = "sap",
272272 .long_name = NULL_IF_CONFIG_SMALL("SAP output"),
273273 .priv_data_size = sizeof(struct SAPState),
libavformat/sbcdec.c+1−1
@@ -23,7 +23,7 @@ · 22 unmodified lines
2323 #include "rawdec.h"
2424
2525 FF_RAW_DEMUXER_CLASS(sbc)
26−AVInputFormat ff_sbc_demuxer = {
26+const AVInputFormat ff_sbc_demuxer = {
2727 .name = "sbc",
2828 .long_name = NULL_IF_CONFIG_SMALL("raw SBC (low-complexity subband codec)"),
2929 .extensions = "sbc,msbc",
libavformat/sbgdec.c+1−1
@@ -1518,7 +1518,7 @@ static const AVClass sbg_demuxer_class = { · 1517 unmodified lines
15181518 .version = LIBAVUTIL_VERSION_INT,
15191519 };
15201520
1521−AVInputFormat ff_sbg_demuxer = {
1521+const AVInputFormat ff_sbg_demuxer = {
15221522 .name = "sbg",
15231523 .long_name = NULL_IF_CONFIG_SMALL("SBaGen binaural beats script"),
15241524 .priv_data_size = sizeof(struct sbg_demuxer),
libavformat/sccdec.c+1−1
@@ -201,7 +201,7 @@ static int scc_read_close(AVFormatContext *s) · 200 unmodified lines
201201 return 0;
202202 }
203203
204−AVInputFormat ff_scc_demuxer = {
204+const AVInputFormat ff_scc_demuxer = {
205205 .name = "scc",
206206 .long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"),
207207 .priv_data_size = sizeof(SCCContext),
libavformat/sccenc.c+1−1
@@ -111,7 +111,7 @@ static int scc_write_packet(AVFormatContext *avf, AVPacket *pkt) · 110 unmodified lines
111111 return 0;
112112 }
113113
114−AVOutputFormat ff_scc_muxer = {
114+const AVOutputFormat ff_scc_muxer = {
115115 .name = "scc",
116116 .long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"),
117117 .extensions = "scc",
libavformat/sdr2.c+1−1
@@ -109,7 +109,7 @@ static int sdr2_read_packet(AVFormatContext *s, AVPacket *pkt) · 108 unmodified lines
109109 return ret;
110110 }
111111
112−AVInputFormat ff_sdr2_demuxer = {
112+const AVInputFormat ff_sdr2_demuxer = {
113113 .name = "sdr2",
114114 .long_name = NULL_IF_CONFIG_SMALL("SDR2"),
115115 .read_probe = sdr2_probe,
libavformat/sdsdec.c+1−1
@@ -153,7 +153,7 @@ static int sds_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 152 unmodified lines
153153 return ret;
154154 }
155155
156−AVInputFormat ff_sds_demuxer = {
156+const AVInputFormat ff_sds_demuxer = {
157157 .name = "sds",
158158 .long_name = NULL_IF_CONFIG_SMALL("MIDI Sample Dump Standard"),
159159 .priv_data_size = sizeof(SDSContext),
libavformat/sdxdec.c+1−1
@@ -78,7 +78,7 @@ static int sdx_read_header(AVFormatContext *s) · 77 unmodified lines
7878 return 0;
7979 }
8080
81−AVInputFormat ff_sdx_demuxer = {
81+const AVInputFormat ff_sdx_demuxer = {
8282 .name = "sdx",
8383 .long_name = NULL_IF_CONFIG_SMALL("Sample Dump eXchange"),
8484 .read_probe = sdx_probe,
libavformat/segafilm.c+1−1
@@ -331,7 +331,7 @@ static int film_read_seek(AVFormatContext *s, int stream_index, int64_t timestam · 330 unmodified lines
331331 return 0;
332332 }
333333
334−AVInputFormat ff_segafilm_demuxer = {
334+const AVInputFormat ff_segafilm_demuxer = {
335335 .name = "film_cpk",
336336 .long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
337337 .priv_data_size = sizeof(FilmDemuxContext),
libavformat/segafilmenc.c+1−1
@@ -321,7 +321,7 @@ static void film_deinit(AVFormatContext *format_context) · 320 unmodified lines
321321 ffio_free_dyn_buf(&film->header);
322322 }
323323
324−AVOutputFormat ff_segafilm_muxer = {
324+const AVOutputFormat ff_segafilm_muxer = {
325325 .name = "film_cpk",
326326 .long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
327327 .extensions = "cpk",
libavformat/segment.c+2−2
@@ -1053,7 +1053,7 @@ static const AVClass seg_class = { · 1052 unmodified lines
10531053 .version = LIBAVUTIL_VERSION_INT,
10541054 };
10551055
1056−AVOutputFormat ff_segment_muxer = {
1056+const AVOutputFormat ff_segment_muxer = {
10571057 .name = "segment",
10581058 .long_name = NULL_IF_CONFIG_SMALL("segment"),
10591059 .priv_data_size = sizeof(SegmentContext),
@@ -1076,7 +1076,7 @@ static const AVClass sseg_class = { · 16 unmodified lines
10761076 .version = LIBAVUTIL_VERSION_INT,
10771077 };
10781078
1079−AVOutputFormat ff_stream_segment_muxer = {
1079+const AVOutputFormat ff_stream_segment_muxer = {
10801080 .name = "stream_segment,ssegment",
10811081 .long_name = NULL_IF_CONFIG_SMALL("streaming segment muxer"),
10821082 .priv_data_size = sizeof(SegmentContext),
libavformat/serdec.c+1−1
@@ -132,7 +132,7 @@ static const AVClass ser_demuxer_class = { · 131 unmodified lines
132132 .version = LIBAVUTIL_VERSION_INT,
133133 };
134134
135−AVInputFormat ff_ser_demuxer = {
135+const AVInputFormat ff_ser_demuxer = {
136136 .name = "ser",
137137 .long_name = NULL_IF_CONFIG_SMALL("SER (Simple uncompressed video format for astronomical capturing)"),
138138 .priv_data_size = sizeof(SERDemuxerContext),
libavformat/sga.c+1−1
@@ -466,7 +466,7 @@ static int sga_seek(AVFormatContext *s, int stream_index, · 465 unmodified lines
466466 return -1;
467467 }
468468
469−AVInputFormat ff_sga_demuxer = {
469+const AVInputFormat ff_sga_demuxer = {
470470 .name = "sga",
471471 .long_name = NULL_IF_CONFIG_SMALL("Digital Pictures SGA"),
472472 .priv_data_size = sizeof(SGADemuxContext),
libavformat/shortendec.c+1−1
@@ -66,7 +66,7 @@ static int shn_probe(const AVProbeData *p) · 65 unmodified lines
6666 }
6767
6868 FF_RAW_DEMUXER_CLASS(shorten)
69−AVInputFormat ff_shorten_demuxer = {
69+const AVInputFormat ff_shorten_demuxer = {
7070 .name = "shn",
7171 .long_name = NULL_IF_CONFIG_SMALL("raw Shorten"),
7272 .read_probe = shn_probe,
libavformat/sierravmd.c+1−1
@@ -317,7 +317,7 @@ static int vmd_read_close(AVFormatContext *s) · 316 unmodified lines
317317 return 0;
318318 }
319319
320−AVInputFormat ff_vmd_demuxer = {
320+const AVInputFormat ff_vmd_demuxer = {
321321 .name = "vmd",
322322 .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD"),
323323 .priv_data_size = sizeof(VmdDemuxContext),
libavformat/siff.c+1−1
@@ -249,7 +249,7 @@ static int siff_read_packet(AVFormatContext *s, AVPacket *pkt) · 248 unmodified lines
249249 return pkt->size;
250250 }
251251
252−AVInputFormat ff_siff_demuxer = {
252+const AVInputFormat ff_siff_demuxer = {
253253 .name = "siff",
254254 .long_name = NULL_IF_CONFIG_SMALL("Beam Software SIFF"),
255255 .priv_data_size = sizeof(SIFFContext),
libavformat/smacker.c+1−1
@@ -386,7 +386,7 @@ static int smacker_read_seek(AVFormatContext *s, int stream_index, · 385 unmodified lines
386386 return 0;
387387 }
388388
389−AVInputFormat ff_smacker_demuxer = {
389+const AVInputFormat ff_smacker_demuxer = {
390390 .name = "smk",
391391 .long_name = NULL_IF_CONFIG_SMALL("Smacker"),
392392 .priv_data_size = sizeof(SmackerContext),
libavformat/smjpegdec.c+1−1
@@ -180,7 +180,7 @@ static int smjpeg_read_packet(AVFormatContext *s, AVPacket *pkt) · 179 unmodified lines
180180 return ret;
181181 }
182182
183−AVInputFormat ff_smjpeg_demuxer = {
183+const AVInputFormat ff_smjpeg_demuxer = {
184184 .name = "smjpeg",
185185 .long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
186186 .priv_data_size = sizeof(SMJPEGContext),
libavformat/smjpegenc.c+1−1
@@ -132,7 +132,7 @@ static int smjpeg_write_trailer(AVFormatContext *s) · 131 unmodified lines
132132 return 0;
133133 }
134134
135−AVOutputFormat ff_smjpeg_muxer = {
135+const AVOutputFormat ff_smjpeg_muxer = {
136136 .name = "smjpeg",
137137 .long_name = NULL_IF_CONFIG_SMALL("Loki SDL MJPEG"),
138138 .priv_data_size = sizeof(SMJPEGMuxContext),
libavformat/smoothstreamingenc.c+1−1
@@ -637,7 +637,7 @@ static const AVClass ism_class = { · 636 unmodified lines
637637 };
638638
639639
640−AVOutputFormat ff_smoothstreaming_muxer = {
640+const AVOutputFormat ff_smoothstreaming_muxer = {
641641 .name = "smoothstreaming",
642642 .long_name = NULL_IF_CONFIG_SMALL("Smooth Streaming Muxer"),
643643 .priv_data_size = sizeof(SmoothStreamingContext),
libavformat/smush.c+1−1
@@ -242,7 +242,7 @@ static int smush_read_packet(AVFormatContext *ctx, AVPacket *pkt) · 241 unmodified lines
242242 return 0;
243243 }
244244
245−AVInputFormat ff_smush_demuxer = {
245+const AVInputFormat ff_smush_demuxer = {
246246 .name = "smush",
247247 .long_name = NULL_IF_CONFIG_SMALL("LucasArts Smush"),
248248 .priv_data_size = sizeof(SMUSHContext),
libavformat/sol.c+1−1
@@ -138,7 +138,7 @@ static int sol_read_packet(AVFormatContext *s, · 137 unmodified lines
138138 return 0;
139139 }
140140
141−AVInputFormat ff_sol_demuxer = {
141+const AVInputFormat ff_sol_demuxer = {
142142 .name = "sol",
143143 .long_name = NULL_IF_CONFIG_SMALL("Sierra SOL"),
144144 .read_probe = sol_probe,
libavformat/soxdec.c+1−1
@@ -124,7 +124,7 @@ static int sox_read_header(AVFormatContext *s) · 123 unmodified lines
124124 return 0;
125125 }
126126
127−AVInputFormat ff_sox_demuxer = {
127+const AVInputFormat ff_sox_demuxer = {
128128 .name = "sox",
129129 .long_name = NULL_IF_CONFIG_SMALL("SoX native"),
130130 .read_probe = sox_probe,
libavformat/soxenc.c+1−1
@@ -104,7 +104,7 @@ static int sox_write_trailer(AVFormatContext *s) · 103 unmodified lines
104104 return 0;
105105 }
106106
107−AVOutputFormat ff_sox_muxer = {
107+const AVOutputFormat ff_sox_muxer = {
108108 .name = "sox",
109109 .long_name = NULL_IF_CONFIG_SMALL("SoX native"),
110110 .extensions = "sox",
libavformat/spdifdec.c+1−1
@@ -231,7 +231,7 @@ int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt) · 230 unmodified lines
231231 return 0;
232232 }
233233
234−AVInputFormat ff_spdif_demuxer = {
234+const AVInputFormat ff_spdif_demuxer = {
235235 .name = "spdif",
236236 .long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (compressed data in S/PDIF)"),
237237 .read_probe = spdif_probe,
libavformat/spdifenc.c+1−1
@@ -673,7 +673,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt) · 672 unmodified lines
673673 return 0;
674674 }
675675
676−AVOutputFormat ff_spdif_muxer = {
676+const AVOutputFormat ff_spdif_muxer = {
677677 .name = "spdif",
678678 .long_name = NULL_IF_CONFIG_SMALL("IEC 61937 (used on S/PDIF - IEC958)"),
679679 .extensions = "spdif",
libavformat/srtdec.c+1−1
@@ -234,7 +234,7 @@ static int srt_read_close(AVFormatContext *s) · 233 unmodified lines
234234 return 0;
235235 }
236236
237−AVInputFormat ff_srt_demuxer = {
237+const AVInputFormat ff_srt_demuxer = {
238238 .name = "srt",
239239 .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
240240 .priv_data_size = sizeof(SRTContext),
libavformat/srtenc.c+1−1
@@ -96,7 +96,7 @@ static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt) · 95 unmodified lines
9696 return 0;
9797 }
9898
99−AVOutputFormat ff_srt_muxer = {
99+const AVOutputFormat ff_srt_muxer = {
100100 .name = "srt",
101101 .long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
102102 .mime_type = "application/x-subrip",
libavformat/stldec.c+1−1
@@ -130,7 +130,7 @@ static int stl_read_close(AVFormatContext *s) · 129 unmodified lines
130130 return 0;
131131 }
132132
133−AVInputFormat ff_stl_demuxer = {
133+const AVInputFormat ff_stl_demuxer = {
134134 .name = "stl",
135135 .long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),
136136 .priv_data_size = sizeof(STLContext),
libavformat/subviewer1dec.c+1−1
@@ -113,7 +113,7 @@ static int subviewer1_read_close(AVFormatContext *s) · 112 unmodified lines
113113 return 0;
114114 }
115115
116−AVInputFormat ff_subviewer1_demuxer = {
116+const AVInputFormat ff_subviewer1_demuxer = {
117117 .name = "subviewer1",
118118 .long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle format"),
119119 .priv_data_size = sizeof(SubViewer1Context),
libavformat/subviewerdec.c+1−1
@@ -203,7 +203,7 @@ static int subviewer_read_close(AVFormatContext *s) · 202 unmodified lines
203203 return 0;
204204 }
205205
206−AVInputFormat ff_subviewer_demuxer = {
206+const AVInputFormat ff_subviewer_demuxer = {
207207 .name = "subviewer",
208208 .long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle format"),
209209 .priv_data_size = sizeof(SubViewerContext),
libavformat/supdec.c+1−1
@@ -97,7 +97,7 @@ static int sup_probe(const AVProbeData *p) · 96 unmodified lines
9797 return AVPROBE_SCORE_MAX;
9898 }
9999
100−AVInputFormat ff_sup_demuxer = {
100+const AVInputFormat ff_sup_demuxer = {
101101 .name = "sup",
102102 .long_name = NULL_IF_CONFIG_SMALL("raw HDMV Presentation Graphic Stream subtitles"),
103103 .extensions = "sup",
libavformat/supenc.c+1−1
@@ -84,7 +84,7 @@ static int sup_write_header(AVFormatContext *s) · 83 unmodified lines
8484 return 0;
8585 }
8686
87−AVOutputFormat ff_sup_muxer = {
87+const AVOutputFormat ff_sup_muxer = {
8888 .name = "sup",
8989 .long_name = NULL_IF_CONFIG_SMALL("raw HDMV Presentation Graphic Stream subtitles"),
9090 .extensions = "sup",
libavformat/svag.c+1−1
@@ -68,7 +68,7 @@ static int svag_read_packet(AVFormatContext *s, AVPacket *pkt) · 67 unmodified lines
6868 return av_get_packet(s->pb, pkt, par->block_align);
6969 }
7070
71−AVInputFormat ff_svag_demuxer = {
71+const AVInputFormat ff_svag_demuxer = {
7272 .name = "svag",
7373 .long_name = NULL_IF_CONFIG_SMALL("Konami PS2 SVAG"),
7474 .read_probe = svag_probe,
libavformat/svs.c+1−1
@@ -86,7 +86,7 @@ static int svs_read_packet(AVFormatContext *s, AVPacket *pkt) · 85 unmodified lines
8686 return ret;
8787 }
8888
89−AVInputFormat ff_svs_demuxer = {
89+const AVInputFormat ff_svs_demuxer = {
9090 .name = "svs",
9191 .long_name = NULL_IF_CONFIG_SMALL("Square SVS"),
9292 .read_probe = svs_probe,
libavformat/swfdec.c+1−1
@@ -567,7 +567,7 @@ static av_cold int swf_read_close(AVFormatContext *avctx) · 566 unmodified lines
567567 }
568568 #endif
569569
570−AVInputFormat ff_swf_demuxer = {
570+const AVInputFormat ff_swf_demuxer = {
571571 .name = "swf",
572572 .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash)"),
573573 .priv_data_size = sizeof(SWFDecContext),
libavformat/swfenc.c+2−2
@@ -539,7 +539,7 @@ static void swf_deinit(AVFormatContext *s) · 538 unmodified lines
539539 }
540540
541541 #if CONFIG_SWF_MUXER
542−AVOutputFormat ff_swf_muxer = {
542+const AVOutputFormat ff_swf_muxer = {
543543 .name = "swf",
544544 .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash)"),
545545 .mime_type = "application/x-shockwave-flash",
@@ -555,7 +555,7 @@ AVOutputFormat ff_swf_muxer = { · 9 unmodified lines
555555 };
556556 #endif
557557 #if CONFIG_AVM2_MUXER
558−AVOutputFormat ff_avm2_muxer = {
558+const AVOutputFormat ff_avm2_muxer = {
559559 .name = "avm2",
560560 .long_name = NULL_IF_CONFIG_SMALL("SWF (ShockWave Flash) (AVM2)"),
561561 .mime_type = "application/x-shockwave-flash",
libavformat/takdec.c+1−1
@@ -214,7 +214,7 @@ static int raw_read_packet(AVFormatContext *s, AVPacket *pkt) · 213 unmodified lines
214214 }
215215
216216 FF_RAW_DEMUXER_CLASS(tak)
217−AVInputFormat ff_tak_demuxer = {
217+const AVInputFormat ff_tak_demuxer = {
218218 .name = "tak",
219219 .long_name = NULL_IF_CONFIG_SMALL("raw TAK"),
220220 .priv_data_size = sizeof(TAKDemuxContext),
libavformat/tedcaptionsdec.c+1−1
@@ -354,7 +354,7 @@ static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index, · 353 unmodified lines
354354 min_ts, ts, max_ts, flags);
355355 }
356356
357−AVInputFormat ff_tedcaptions_demuxer = {
357+const AVInputFormat ff_tedcaptions_demuxer = {
358358 .name = "tedcaptions",
359359 .long_name = NULL_IF_CONFIG_SMALL("TED Talks captions"),
360360 .priv_data_size = sizeof(TEDCaptionsDemuxer),
libavformat/tee.c+1−1
@@ -606,7 +606,7 @@ static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt) · 605 unmodified lines
606606 return ret_all;
607607 }
608608
609−AVOutputFormat ff_tee_muxer = {
609+const AVOutputFormat ff_tee_muxer = {
610610 .name = "tee",
611611 .long_name = NULL_IF_CONFIG_SMALL("Multiple muxer tee"),
612612 .priv_data_size = sizeof(TeeContext),
libavformat/thp.c+1−1
@@ -212,7 +212,7 @@ static int thp_read_packet(AVFormatContext *s, · 211 unmodified lines
212212 return 0;
213213 }
214214
215−AVInputFormat ff_thp_demuxer = {
215+const AVInputFormat ff_thp_demuxer = {
216216 .name = "thp",
217217 .long_name = NULL_IF_CONFIG_SMALL("THP"),
218218 .priv_data_size = sizeof(ThpDemuxContext),
libavformat/tiertexseq.c+1−1
@@ -316,7 +316,7 @@ static int seq_read_packet(AVFormatContext *s, AVPacket *pkt) · 315 unmodified lines
316316 return 0;
317317 }
318318
319−AVInputFormat ff_tiertexseq_demuxer = {
319+const AVInputFormat ff_tiertexseq_demuxer = {
320320 .name = "tiertexseq",
321321 .long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ"),
322322 .priv_data_size = sizeof(SeqDemuxContext),
libavformat/tmv.c+1−1
@@ -187,7 +187,7 @@ static int tmv_read_seek(AVFormatContext *s, int stream_index, · 186 unmodified lines
187187 return 0;
188188 }
189189
190−AVInputFormat ff_tmv_demuxer = {
190+const AVInputFormat ff_tmv_demuxer = {
191191 .name = "tmv",
192192 .long_name = NULL_IF_CONFIG_SMALL("8088flex TMV"),
193193 .priv_data_size = sizeof(TMVContext),
libavformat/tta.c+1−1
@@ -184,7 +184,7 @@ static int tta_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 183 unmodified lines
184184 return 0;
185185 }
186186
187−AVInputFormat ff_tta_demuxer = {
187+const AVInputFormat ff_tta_demuxer = {
188188 .name = "tta",
189189 .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
190190 .priv_data_size = sizeof(TTAContext),
libavformat/ttaenc.c+1−1
@@ -165,7 +165,7 @@ static void tta_deinit(AVFormatContext *s) · 164 unmodified lines
165165 avpriv_packet_list_free(&tta->queue, &tta->queue_end);
166166 }
167167
168−AVOutputFormat ff_tta_muxer = {
168+const AVOutputFormat ff_tta_muxer = {
169169 .name = "tta",
170170 .long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
171171 .mime_type = "audio/x-tta",
libavformat/ttmlenc.c+1−1
@@ -219,7 +219,7 @@ static int ttml_write_trailer(AVFormatContext *ctx) · 218 unmodified lines
219219 return 0;
220220 }
221221
222−AVOutputFormat ff_ttml_muxer = {
222+const AVOutputFormat ff_ttml_muxer = {
223223 .name = "ttml",
224224 .long_name = NULL_IF_CONFIG_SMALL("TTML subtitle"),
225225 .extensions = "ttml",
libavformat/tty.c+1−1
@@ -178,7 +178,7 @@ static const AVClass tty_demuxer_class = { · 177 unmodified lines
178178 .version = LIBAVUTIL_VERSION_INT,
179179 };
180180
181−AVInputFormat ff_tty_demuxer = {
181+const AVInputFormat ff_tty_demuxer = {
182182 .name = "tty",
183183 .long_name = NULL_IF_CONFIG_SMALL("Tele-typewriter"),
184184 .priv_data_size = sizeof(TtyDemuxContext),
libavformat/txd.c+1−1
@@ -92,7 +92,7 @@ next_chunk: · 91 unmodified lines
9292 return 0;
9393 }
9494
95−AVInputFormat ff_txd_demuxer = {
95+const AVInputFormat ff_txd_demuxer = {
9696 .name = "txd",
9797 .long_name = NULL_IF_CONFIG_SMALL("Renderware TeXture Dictionary"),
9898 .read_probe = txd_probe,
libavformat/ty.c+1−1
@@ -710,7 +710,7 @@ static int ty_read_close(AVFormatContext *s) · 709 unmodified lines
710710 return 0;
711711 }
712712
713−AVInputFormat ff_ty_demuxer = {
713+const AVInputFormat ff_ty_demuxer = {
714714 .name = "ty",
715715 .long_name = NULL_IF_CONFIG_SMALL("TiVo TY Stream"),
716716 .priv_data_size = sizeof(TYDemuxContext),
libavformat/uncodedframecrcenc.c+1−1
@@ -164,7 +164,7 @@ static int write_packet(struct AVFormatContext *s, AVPacket *pkt) · 163 unmodified lines
164164 return AVERROR(ENOSYS);
165165 }
166166
167−AVOutputFormat ff_uncodedframecrc_muxer = {
167+const AVOutputFormat ff_uncodedframecrc_muxer = {
168168 .name = "uncodedframecrc",
169169 .long_name = NULL_IF_CONFIG_SMALL("uncoded framecrc testing"),
170170 .audio_codec = AV_CODEC_ID_PCM_S16LE,
libavformat/v210.c+2−2
@@ -95,7 +95,7 @@ static const AVClass v210_demuxer_class = { · 94 unmodified lines
9595 .version = LIBAVUTIL_VERSION_INT,
9696 };
9797
98−AVInputFormat ff_v210_demuxer = {
98+const AVInputFormat ff_v210_demuxer = {
9999 .name = "v210",
100100 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
101101 .priv_data_size = sizeof(V210DemuxerContext),
@@ -116,7 +116,7 @@ static const AVClass v210x_demuxer_class = { · 14 unmodified lines
116116 .version = LIBAVUTIL_VERSION_INT,
117117 };
118118
119−AVInputFormat ff_v210x_demuxer = {
119+const AVInputFormat ff_v210x_demuxer = {
120120 .name = "v210x",
121121 .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
122122 .priv_data_size = sizeof(V210DemuxerContext),
libavformat/vag.c+1−1
@@ -73,7 +73,7 @@ static int vag_read_packet(AVFormatContext *s, AVPacket *pkt) · 72 unmodified lines
7373 return av_get_packet(s->pb, pkt, par->block_align);
7474 }
7575
76−AVInputFormat ff_vag_demuxer = {
76+const AVInputFormat ff_vag_demuxer = {
7777 .name = "vag",
7878 .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VAG"),
7979 .read_probe = vag_probe,
libavformat/vapoursynth.c+1−1
@@ -483,7 +483,7 @@ static const AVClass class_vs = { · 482 unmodified lines
483483 .version = LIBAVUTIL_VERSION_INT,
484484 };
485485
486−AVInputFormat ff_vapoursynth_demuxer = {
486+const AVInputFormat ff_vapoursynth_demuxer = {
487487 .name = "vapoursynth",
488488 .long_name = NULL_IF_CONFIG_SMALL("VapourSynth demuxer"),
489489 .priv_data_size = sizeof(VSContext),
libavformat/vc1test.c+1−1
@@ -116,7 +116,7 @@ static int vc1t_read_packet(AVFormatContext *s, · 115 unmodified lines
116116 return pkt->size;
117117 }
118118
119−AVInputFormat ff_vc1t_demuxer = {
119+const AVInputFormat ff_vc1t_demuxer = {
120120 .name = "vc1test",
121121 .long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"),
122122 .read_probe = vc1t_probe,
libavformat/vc1testenc.c+1−1
@@ -80,7 +80,7 @@ static int vc1test_write_trailer(AVFormatContext *s) · 79 unmodified lines
8080 return 0;
8181 }
8282
83−AVOutputFormat ff_vc1t_muxer = {
83+const AVOutputFormat ff_vc1t_muxer = {
8484 .name = "vc1test",
8585 .long_name = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"),
8686 .extensions = "rcv",
libavformat/vividas.c+1−1
@@ -781,7 +781,7 @@ static int viv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp · 780 unmodified lines
781781 return 0;
782782 }
783783
784−AVInputFormat ff_vividas_demuxer = {
784+const AVInputFormat ff_vividas_demuxer = {
785785 .name = "vividas",
786786 .long_name = NULL_IF_CONFIG_SMALL("Vividas VIV"),
787787 .priv_data_size = sizeof(VividasDemuxContext),
libavformat/vivo.c+1−1
@@ -309,7 +309,7 @@ restart: · 308 unmodified lines
309309 return ret;
310310 }
311311
312−AVInputFormat ff_vivo_demuxer = {
312+const AVInputFormat ff_vivo_demuxer = {
313313 .name = "vivo",
314314 .long_name = NULL_IF_CONFIG_SMALL("Vivo"),
315315 .priv_data_size = sizeof(VivoContext),
libavformat/vocdec.c+1−1
@@ -98,7 +98,7 @@ static int voc_read_seek(AVFormatContext *s, int stream_index, · 97 unmodified lines
9898 return -1;
9999 }
100100
101−AVInputFormat ff_voc_demuxer = {
101+const AVInputFormat ff_voc_demuxer = {
102102 .name = "voc",
103103 .long_name = NULL_IF_CONFIG_SMALL("Creative Voice"),
104104 .priv_data_size = sizeof(VocDecContext),
libavformat/vocenc.c+1−1
@@ -95,7 +95,7 @@ static int voc_write_trailer(AVFormatContext *s) · 94 unmodified lines
9595 return 0;
9696 }
9797
98−AVOutputFormat ff_voc_muxer = {
98+const AVOutputFormat ff_voc_muxer = {
9999 .name = "voc",
100100 .long_name = NULL_IF_CONFIG_SMALL("Creative Voice"),
101101 .mime_type = "audio/x-voc",
libavformat/vpk.c+1−1
@@ -134,7 +134,7 @@ static int vpk_read_seek(AVFormatContext *s, int stream_index, · 133 unmodified lines
134134 return 0;
135135 }
136136
137−AVInputFormat ff_vpk_demuxer = {
137+const AVInputFormat ff_vpk_demuxer = {
138138 .name = "vpk",
139139 .long_name = NULL_IF_CONFIG_SMALL("Sony PS2 VPK"),
140140 .priv_data_size = sizeof(VPKDemuxContext),
libavformat/vplayerdec.c+1−1
@@ -118,7 +118,7 @@ static int vplayer_read_close(AVFormatContext *s) · 117 unmodified lines
118118 return 0;
119119 }
120120
121−AVInputFormat ff_vplayer_demuxer = {
121+const AVInputFormat ff_vplayer_demuxer = {
122122 .name = "vplayer",
123123 .long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitles"),
124124 .priv_data_size = sizeof(VPlayerContext),
libavformat/vqf.c+1−1
@@ -287,7 +287,7 @@ static int vqf_read_seek(AVFormatContext *s, · 286 unmodified lines
287287 return 0;
288288 }
289289
290−AVInputFormat ff_vqf_demuxer = {
290+const AVInputFormat ff_vqf_demuxer = {
291291 .name = "vqf",
292292 .long_name = NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"),
293293 .priv_data_size = sizeof(VqfContext),
libavformat/wavdec.c+2−2
@@ -816,7 +816,7 @@ static const AVClass wav_demuxer_class = { · 815 unmodified lines
816816 .option = demux_options,
817817 .version = LIBAVUTIL_VERSION_INT,
818818 };
819−AVInputFormat ff_wav_demuxer = {
819+const AVInputFormat ff_wav_demuxer = {
820820 .name = "wav",
821821 .long_name = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"),
822822 .priv_data_size = sizeof(WAVDemuxContext),
@@ -966,7 +966,7 @@ static const AVClass w64_demuxer_class = { · 143 unmodified lines
966966 .version = LIBAVUTIL_VERSION_INT,
967967 };
968968
969−AVInputFormat ff_w64_demuxer = {
969+const AVInputFormat ff_w64_demuxer = {
970970 .name = "w64",
971971 .long_name = NULL_IF_CONFIG_SMALL("Sony Wave64"),
972972 .priv_data_size = sizeof(WAVDemuxContext),
libavformat/wavenc.c+2−2
@@ -504,7 +504,7 @@ static const AVClass wav_muxer_class = { · 503 unmodified lines
504504 .version = LIBAVUTIL_VERSION_INT,
505505 };
506506
507−AVOutputFormat ff_wav_muxer = {
507+const AVOutputFormat ff_wav_muxer = {
508508 .name = "wav",
509509 .long_name = NULL_IF_CONFIG_SMALL("WAV / WAVE (Waveform Audio)"),
510510 .mime_type = "audio/x-wav",
@@ -603,7 +603,7 @@ static int w64_write_trailer(AVFormatContext *s) · 92 unmodified lines
603603 return 0;
604604 }
605605
606−AVOutputFormat ff_w64_muxer = {
606+const AVOutputFormat ff_w64_muxer = {
607607 .name = "w64",
608608 .long_name = NULL_IF_CONFIG_SMALL("Sony Wave64"),
609609 .extensions = "w64",
libavformat/wc3movie.c+1−1
@@ -309,7 +309,7 @@ static int wc3_read_packet(AVFormatContext *s, · 308 unmodified lines
309309 return ret;
310310 }
311311
312−AVInputFormat ff_wc3_demuxer = {
312+const AVInputFormat ff_wc3_demuxer = {
313313 .name = "wc3movie",
314314 .long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"),
315315 .priv_data_size = sizeof(Wc3DemuxContext),
libavformat/webm_chunk.c+1−1
@@ -289,7 +289,7 @@ static const AVClass webm_chunk_class = { · 288 unmodified lines
289289 .version = LIBAVUTIL_VERSION_INT,
290290 };
291291
292−AVOutputFormat ff_webm_chunk_muxer = {
292+const AVOutputFormat ff_webm_chunk_muxer = {
293293 .name = "webm_chunk",
294294 .long_name = NULL_IF_CONFIG_SMALL("WebM Chunk Muxer"),
295295 .mime_type = "video/webm",
libavformat/webmdashenc.c+1−1
@@ -537,7 +537,7 @@ static const AVClass webm_dash_class = { · 536 unmodified lines
537537 .version = LIBAVUTIL_VERSION_INT,
538538 };
539539
540−AVOutputFormat ff_webm_dash_manifest_muxer = {
540+const AVOutputFormat ff_webm_dash_manifest_muxer = {
541541 .name = "webm_dash_manifest",
542542 .long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"),
543543 .mime_type = "application/xml",
libavformat/webpenc.c+1−1
@@ -212,7 +212,7 @@ static const AVClass webp_muxer_class = { · 211 unmodified lines
212212 .version = LIBAVUTIL_VERSION_INT,
213213 .option = options,
214214 };
215−AVOutputFormat ff_webp_muxer = {
215+const AVOutputFormat ff_webp_muxer = {
216216 .name = "webp",
217217 .long_name = NULL_IF_CONFIG_SMALL("WebP"),
218218 .extensions = "webp",
libavformat/webvttdec.c+1−1
@@ -210,7 +210,7 @@ static const AVClass webvtt_demuxer_class = { · 209 unmodified lines
210210 .version = LIBAVUTIL_VERSION_INT,
211211 };
212212
213−AVInputFormat ff_webvtt_demuxer = {
213+const AVInputFormat ff_webvtt_demuxer = {
214214 .name = "webvtt",
215215 .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
216216 .priv_data_size = sizeof(WebVTTContext),
libavformat/webvttenc.c+1−1
@@ -102,7 +102,7 @@ static int webvtt_write_packet(AVFormatContext *ctx, AVPacket *pkt) · 101 unmodified lines
102102 return 0;
103103 }
104104
105−AVOutputFormat ff_webvtt_muxer = {
105+const AVOutputFormat ff_webvtt_muxer = {
106106 .name = "webvtt",
107107 .long_name = NULL_IF_CONFIG_SMALL("WebVTT subtitle"),
108108 .extensions = "vtt",
libavformat/westwood_aud.c+1−1
@@ -178,7 +178,7 @@ static int wsaud_read_packet(AVFormatContext *s, · 177 unmodified lines
178178 return ret;
179179 }
180180
181−AVInputFormat ff_wsaud_demuxer = {
181+const AVInputFormat ff_wsaud_demuxer = {
182182 .name = "wsaud",
183183 .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio"),
184184 .read_probe = wsaud_probe,
libavformat/westwood_audenc.c+1−1
@@ -127,7 +127,7 @@ static int wsaud_write_trailer(AVFormatContext *ctx) · 126 unmodified lines
127127 return 0;
128128 }
129129
130−AVOutputFormat ff_wsaud_muxer = {
130+const AVOutputFormat ff_wsaud_muxer = {
131131 .name = "wsaud",
132132 .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios audio"),
133133 .extensions = "aud",
libavformat/westwood_vqa.c+1−1
@@ -260,7 +260,7 @@ static int wsvqa_read_packet(AVFormatContext *s, · 259 unmodified lines
260260 return ret;
261261 }
262262
263−AVInputFormat ff_wsvqa_demuxer = {
263+const AVInputFormat ff_wsvqa_demuxer = {
264264 .name = "wsvqa",
265265 .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA"),
266266 .priv_data_size = sizeof(WsVqaDemuxContext),
libavformat/wsddec.c+1−1
@@ -162,7 +162,7 @@ static int wsd_read_header(AVFormatContext *s) · 161 unmodified lines
162162 }
163163
164164 FF_RAW_DEMUXER_CLASS(wsd)
165−AVInputFormat ff_wsd_demuxer = {
165+const AVInputFormat ff_wsd_demuxer = {
166166 .name = "wsd",
167167 .long_name = NULL_IF_CONFIG_SMALL("Wideband Single-bit Data (WSD)"),
168168 .read_probe = wsd_probe,
libavformat/wtvdec.c+1−1
@@ -1124,7 +1124,7 @@ static int read_close(AVFormatContext *s) · 1123 unmodified lines
11241124 return 0;
11251125 }
11261126
1127−AVInputFormat ff_wtv_demuxer = {
1127+const AVInputFormat ff_wtv_demuxer = {
11281128 .name = "wtv",
11291129 .long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"),
11301130 .priv_data_size = sizeof(WtvContext),
libavformat/wtvenc.c+1−1
@@ -829,7 +829,7 @@ static int write_trailer(AVFormatContext *s) · 828 unmodified lines
829829 return 0;
830830 }
831831
832−AVOutputFormat ff_wtv_muxer = {
832+const AVOutputFormat ff_wtv_muxer = {
833833 .name = "wtv",
834834 .long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"),
835835 .extensions = "wtv",
libavformat/wvdec.c+1−1
@@ -329,7 +329,7 @@ static int wv_read_packet(AVFormatContext *s, AVPacket *pkt) · 328 unmodified lines
329329 return 0;
330330 }
331331
332−AVInputFormat ff_wv_demuxer = {
332+const AVInputFormat ff_wv_demuxer = {
333333 .name = "wv",
334334 .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
335335 .priv_data_size = sizeof(WVContext),
libavformat/wvedec.c+1−1
@@ -52,7 +52,7 @@ static int wve_read_header(AVFormatContext *s) · 51 unmodified lines
5252 return 0;
5353 }
5454
55−AVInputFormat ff_wve_demuxer = {
55+const AVInputFormat ff_wve_demuxer = {
5656 .name = "wve",
5757 .long_name = NULL_IF_CONFIG_SMALL("Psion 3 audio"),
5858 .read_probe = wve_probe,
libavformat/wvenc.c+1−1
@@ -76,7 +76,7 @@ static av_cold int wv_write_trailer(AVFormatContext *ctx) · 75 unmodified lines
7676 return 0;
7777 }
7878
79−AVOutputFormat ff_wv_muxer = {
79+const AVOutputFormat ff_wv_muxer = {
8080 .name = "wv",
8181 .long_name = NULL_IF_CONFIG_SMALL("raw WavPack"),
8282 .mime_type = "audio/x-wavpack",
libavformat/xa.c+1−1
@@ -121,7 +121,7 @@ static int xa_read_packet(AVFormatContext *s, · 120 unmodified lines
121121 return ret;
122122 }
123123
124−AVInputFormat ff_xa_demuxer = {
124+const AVInputFormat ff_xa_demuxer = {
125125 .name = "xa",
126126 .long_name = NULL_IF_CONFIG_SMALL("Maxis XA"),
127127 .priv_data_size = sizeof(MaxisXADemuxContext),
libavformat/xmv.c+1−1
@@ -583,7 +583,7 @@ static int xmv_read_packet(AVFormatContext *s, · 582 unmodified lines
583583 return 0;
584584 }
585585
586−AVInputFormat ff_xmv_demuxer = {
586+const AVInputFormat ff_xmv_demuxer = {
587587 .name = "xmv",
588588 .long_name = NULL_IF_CONFIG_SMALL("Microsoft XMV"),
589589 .extensions = "xmv",
libavformat/xvag.c+1−1
@@ -103,7 +103,7 @@ static int xvag_read_packet(AVFormatContext *s, AVPacket *pkt) · 102 unmodified lines
103103 return av_get_packet(s->pb, pkt, par->block_align);
104104 }
105105
106−AVInputFormat ff_xvag_demuxer = {
106+const AVInputFormat ff_xvag_demuxer = {
107107 .name = "xvag",
108108 .long_name = NULL_IF_CONFIG_SMALL("Sony PS3 XVAG"),
109109 .read_probe = xvag_probe,
libavformat/xwma.c+1−1
@@ -313,7 +313,7 @@ static int xwma_read_packet(AVFormatContext *s, AVPacket *pkt) · 312 unmodified lines
313313 return ret;
314314 }
315315
316−AVInputFormat ff_xwma_demuxer = {
316+const AVInputFormat ff_xwma_demuxer = {
317317 .name = "xwma",
318318 .long_name = NULL_IF_CONFIG_SMALL("Microsoft xWMA"),
319319 .priv_data_size = sizeof(XWMAContext),
libavformat/yop.c+1−1
@@ -204,7 +204,7 @@ static int yop_read_seek(AVFormatContext *s, int stream_index, · 203 unmodified lines
204204 return 0;
205205 }
206206
207−AVInputFormat ff_yop_demuxer = {
207+const AVInputFormat ff_yop_demuxer = {
208208 .name = "yop",
209209 .long_name = NULL_IF_CONFIG_SMALL("Psygnosis YOP"),
210210 .priv_data_size = sizeof(YopDecContext),
libavformat/yuv4mpegdec.c+1−1
@@ -345,7 +345,7 @@ static int yuv4_probe(const AVProbeData *pd) · 344 unmodified lines
345345 return 0;
346346 }
347347
348−AVInputFormat ff_yuv4mpegpipe_demuxer = {
348+const AVInputFormat ff_yuv4mpegpipe_demuxer = {
349349 .name = "yuv4mpegpipe",
350350 .long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
351351 .read_probe = yuv4_probe,
libavformat/yuv4mpegenc.c+1−1
@@ -328,7 +328,7 @@ static int yuv4_init(AVFormatContext *s) · 327 unmodified lines
328328 return 0;
329329 }
330330
331−AVOutputFormat ff_yuv4mpegpipe_muxer = {
331+const AVOutputFormat ff_yuv4mpegpipe_muxer = {
332332 .name = "yuv4mpegpipe",
333333 .long_name = NULL_IF_CONFIG_SMALL("YUV4MPEG pipe"),
334334 .extensions = "y4m",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t