History

avformat/internal: Move FF_FMT_INIT_CLEANUP to demux.h

and rename it to FF_INFMT_INIT_CLEANUP. This flag is demuxer-only, so this is the more appropriate place for it. This does not preclude adding internal flags common to both demuxer and muxer in the future.

Andreas Rheinhardt committed 2 years ago

Commit 4a4dcde1 parent 27af88f65 files · +74 −74Browse files

Unified · Split

65 files
  1. libavdevice/lavfi.c +1 −1
  2. libavformat/4xm.c +1 −1
  3. libavformat/aadec.c +1 −1
  4. libavformat/aaxdec.c +1 −1
  5. libavformat/ape.c +1 −1
  6. libavformat/aqtitledec.c +1 −1
  7. libavformat/assdec.c +1 −1
  8. libavformat/av1dec.c +2 −2
  9. libavformat/avidec.c +1 −1
  10. libavformat/brstm.c +2 −2
  11. libavformat/concatdec.c +1 −1
  12. libavformat/dashdec.c +1 −1
  13. libavformat/demux.c +1 −1
  14. libavformat/demux.h +7 −1
  15. libavformat/dvdvideodec.c +1 −1
  16. libavformat/evcdec.c +1 −1
  17. libavformat/hls.c +1 −1
  18. libavformat/iamfdec.c +1 −1
  19. libavformat/icodec.c +1 −1
  20. libavformat/imfdec.c +1 −1
  21. libavformat/internal.h +0 −6
  22. libavformat/jacosubdec.c +1 −1
  23. libavformat/jpegxl_anim_dec.c +1 −1
  24. libavformat/jvdec.c +1 −1
  25. libavformat/lafdec.c +1 −1
  26. libavformat/libgme.c +1 −1
  27. libavformat/libopenmpt.c +1 −1
  28. libavformat/lrcdec.c +1 −1
  29. libavformat/matroskadec.c +2 −2
  30. libavformat/mccdec.c +1 −1
  31. libavformat/microdvddec.c +1 −1
  32. libavformat/mlvdec.c +1 −1
  33. libavformat/moflex.c +1 −1
  34. libavformat/mov.c +1 −1
  35. libavformat/mpeg.c +1 −1
  36. libavformat/mpl2dec.c +1 −1
  37. libavformat/mpsubdec.c +1 −1
  38. libavformat/mxfdec.c +1 −1
  39. libavformat/nsvdec.c +1 −1
  40. libavformat/nutdec.c +1 −1
  41. libavformat/oggdec.c +1 −1
  42. libavformat/omadec.c +1 −1
  43. libavformat/paf.c +1 −1
  44. libavformat/pdvdec.c +1 −1
  45. libavformat/pjsdec.c +1 −1
  46. libavformat/pp_bnk.c +1 −1
  47. libavformat/realtextdec.c +1 −1
  48. libavformat/rmdec.c +2 −2
  49. libavformat/samidec.c +1 −1
  50. libavformat/sccdec.c +1 −1
  51. libavformat/scd.c +1 −1
  52. libavformat/segafilm.c +1 −1
  53. libavformat/sierravmd.c +1 −1
  54. libavformat/srtdec.c +1 −1
  55. libavformat/stldec.c +1 −1
  56. libavformat/subviewer1dec.c +1 −1
  57. libavformat/subviewerdec.c +1 −1
  58. libavformat/tedcaptionsdec.c +1 −1
  59. libavformat/tiertexseq.c +1 −1
  60. libavformat/vapoursynth.c +1 −1
  61. libavformat/vividas.c +1 −1
  62. libavformat/vplayerdec.c +1 −1
  63. libavformat/wc3movie.c +1 −1
  64. libavformat/webvttdec.c +1 −1
  65. libavformat/xmv.c +1 −1
libavdevice/lavfi.c+1−1
@@ -503,5 +503,5 @@ const FFInputFormat ff_lavfi_demuxer = { · 502 unmodified lines
503 .read_header = lavfi_read_header,503 .read_header = lavfi_read_header,
504 .read_packet = lavfi_read_packet,504 .read_packet = lavfi_read_packet,
505 .read_close = lavfi_read_close,505 .read_close = lavfi_read_close,
506 .flags_internal = FF_FMT_INIT_CLEANUP,506 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
507};507};
libavformat/4xm.c+1−1
@@ -401,7 +401,7 @@ const FFInputFormat ff_fourxm_demuxer = { · 400 unmodified lines
401 .p.name = "4xm",401 .p.name = "4xm",
402 .p.long_name = NULL_IF_CONFIG_SMALL("4X Technologies"),402 .p.long_name = NULL_IF_CONFIG_SMALL("4X Technologies"),
403 .priv_data_size = sizeof(FourxmDemuxContext),403 .priv_data_size = sizeof(FourxmDemuxContext),
404 .flags_internal = FF_FMT_INIT_CLEANUP,404 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
405 .read_probe = fourxm_probe,405 .read_probe = fourxm_probe,
406 .read_header = fourxm_read_header,406 .read_header = fourxm_read_header,
407 .read_packet = fourxm_read_packet,407 .read_packet = fourxm_read_packet,
libavformat/aadec.c+1−1
@@ -383,5 +383,5 @@ const FFInputFormat ff_aa_demuxer = { · 382 unmodified lines
383 .read_packet = aa_read_packet,383 .read_packet = aa_read_packet,
384 .read_seek = aa_read_seek,384 .read_seek = aa_read_seek,
385 .read_close = aa_read_close,385 .read_close = aa_read_close,
386 .flags_internal = FF_FMT_INIT_CLEANUP,386 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
387};387};
libavformat/aaxdec.c+1−1
@@ -389,7 +389,7 @@ const FFInputFormat ff_aax_demuxer = { · 388 unmodified lines
389 .p.extensions = "aax",389 .p.extensions = "aax",
390 .p.flags = AVFMT_GENERIC_INDEX,390 .p.flags = AVFMT_GENERIC_INDEX,
391 .priv_data_size = sizeof(AAXContext),391 .priv_data_size = sizeof(AAXContext),
392 .flags_internal = FF_FMT_INIT_CLEANUP,392 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
393 .read_probe = aax_probe,393 .read_probe = aax_probe,
394 .read_header = aax_read_header,394 .read_header = aax_read_header,
395 .read_packet = aax_read_packet,395 .read_packet = aax_read_packet,
libavformat/ape.c+1−1
@@ -450,7 +450,7 @@ const FFInputFormat ff_ape_demuxer = { · 449 unmodified lines
450 .p.long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),450 .p.long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
451 .p.extensions = "ape,apl,mac",451 .p.extensions = "ape,apl,mac",
452 .priv_data_size = sizeof(APEContext),452 .priv_data_size = sizeof(APEContext),
453 .flags_internal = FF_FMT_INIT_CLEANUP,453 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
454 .read_probe = ape_probe,454 .read_probe = ape_probe,
455 .read_header = ape_read_header,455 .read_header = ape_read_header,
456 .read_packet = ape_read_packet,456 .read_packet = ape_read_packet,
libavformat/aqtitledec.c+1−1
@@ -142,7 +142,7 @@ const FFInputFormat ff_aqtitle_demuxer = { · 141 unmodified lines
142 .p.extensions = "aqt",142 .p.extensions = "aqt",
143 .p.priv_class = &aqt_class,143 .p.priv_class = &aqt_class,
144 .priv_data_size = sizeof(AQTitleContext),144 .priv_data_size = sizeof(AQTitleContext),
145 .flags_internal = FF_FMT_INIT_CLEANUP,145 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
146 .read_probe = aqt_probe,146 .read_probe = aqt_probe,
147 .read_header = aqt_read_header,147 .read_header = aqt_read_header,
148 .read_packet = aqt_read_packet,148 .read_packet = aqt_read_packet,
libavformat/assdec.c+1−1
@@ -164,7 +164,7 @@ end: · 163 unmodified lines
164const FFInputFormat ff_ass_demuxer = {164const FFInputFormat ff_ass_demuxer = {
165 .p.name = "ass",165 .p.name = "ass",
166 .p.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),166 .p.long_name = NULL_IF_CONFIG_SMALL("SSA (SubStation Alpha) subtitle"),
167 .flags_internal = FF_FMT_INIT_CLEANUP,167 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
168 .priv_data_size = sizeof(ASSContext),168 .priv_data_size = sizeof(ASSContext),
169 .read_probe = ass_probe,169 .read_probe = ass_probe,
170 .read_header = ass_read_header,170 .read_header = ass_read_header,
libavformat/av1dec.c+2−2
@@ -289,7 +289,7 @@ const FFInputFormat ff_av1_demuxer = { · 288 unmodified lines
289 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,289 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NOTIMESTAMPS,
290 .p.priv_class = &av1_demuxer_class,290 .p.priv_class = &av1_demuxer_class,
291 .priv_data_size = sizeof(AV1DemuxContext),291 .priv_data_size = sizeof(AV1DemuxContext),
292 .flags_internal = FF_FMT_INIT_CLEANUP,292 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
293 .read_probe = annexb_probe,293 .read_probe = annexb_probe,
294 .read_header = av1_read_header,294 .read_header = av1_read_header,
295 .read_packet = annexb_read_packet,295 .read_packet = annexb_read_packet,
@@ -434,7 +434,7 @@ const FFInputFormat ff_obu_demuxer = { · 138 unmodified lines
434 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS,434 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS,
435 .p.priv_class = &av1_demuxer_class,435 .p.priv_class = &av1_demuxer_class,
436 .priv_data_size = sizeof(AV1DemuxContext),436 .priv_data_size = sizeof(AV1DemuxContext),
437 .flags_internal = FF_FMT_INIT_CLEANUP,437 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
438 .read_probe = obu_probe,438 .read_probe = obu_probe,
439 .read_header = av1_read_header,439 .read_header = av1_read_header,
440 .read_packet = obu_read_packet,440 .read_packet = obu_read_packet,
libavformat/avidec.c+1−1
@@ -2022,7 +2022,7 @@ const FFInputFormat ff_avi_demuxer = { · 2021 unmodified lines
2022 .p.extensions = "avi",2022 .p.extensions = "avi",
2023 .p.priv_class = &demuxer_class,2023 .p.priv_class = &demuxer_class,
2024 .priv_data_size = sizeof(AVIContext),2024 .priv_data_size = sizeof(AVIContext),
2025 .flags_internal = FF_FMT_INIT_CLEANUP,2025 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
2026 .read_probe = avi_probe,2026 .read_probe = avi_probe,
2027 .read_header = avi_read_header,2027 .read_header = avi_read_header,
2028 .read_packet = avi_read_packet,2028 .read_packet = avi_read_packet,
libavformat/brstm.c+2−2
@@ -472,7 +472,7 @@ const FFInputFormat ff_brstm_demuxer = { · 471 unmodified lines
472 .p.long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),472 .p.long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),
473 .p.extensions = "brstm",473 .p.extensions = "brstm",
474 .priv_data_size = sizeof(BRSTMDemuxContext),474 .priv_data_size = sizeof(BRSTMDemuxContext),
475 .flags_internal = FF_FMT_INIT_CLEANUP,475 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
476 .read_probe = probe,476 .read_probe = probe,
477 .read_header = read_header,477 .read_header = read_header,
478 .read_packet = read_packet,478 .read_packet = read_packet,
@@ -485,7 +485,7 @@ const FFInputFormat ff_bfstm_demuxer = { · 6 unmodified lines
485 .p.long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),485 .p.long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),
486 .p.extensions = "bfstm,bcstm",486 .p.extensions = "bfstm,bcstm",
487 .priv_data_size = sizeof(BRSTMDemuxContext),487 .priv_data_size = sizeof(BRSTMDemuxContext),
488 .flags_internal = FF_FMT_INIT_CLEANUP,488 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
489 .read_probe = probe_bfstm,489 .read_probe = probe_bfstm,
490 .read_header = read_header,490 .read_header = read_header,
491 .read_packet = read_packet,491 .read_packet = read_packet,
libavformat/concatdec.c+1−1
@@ -947,7 +947,7 @@ const FFInputFormat ff_concat_demuxer = { · 946 unmodified lines
947 .p.long_name = NULL_IF_CONFIG_SMALL("Virtual concatenation script"),947 .p.long_name = NULL_IF_CONFIG_SMALL("Virtual concatenation script"),
948 .p.priv_class = &concat_class,948 .p.priv_class = &concat_class,
949 .priv_data_size = sizeof(ConcatContext),949 .priv_data_size = sizeof(ConcatContext),
950 .flags_internal = FF_FMT_INIT_CLEANUP,950 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
951 .read_probe = concat_probe,951 .read_probe = concat_probe,
952 .read_header = concat_read_header,952 .read_header = concat_read_header,
953 .read_packet = concat_read_packet,953 .read_packet = concat_read_packet,
libavformat/dashdec.c+1−1
@@ -2361,7 +2361,7 @@ const FFInputFormat ff_dash_demuxer = { · 2360 unmodified lines
2361 .p.priv_class = &dash_class,2361 .p.priv_class = &dash_class,
2362 .p.flags = AVFMT_NO_BYTE_SEEK,2362 .p.flags = AVFMT_NO_BYTE_SEEK,
2363 .priv_data_size = sizeof(DASHContext),2363 .priv_data_size = sizeof(DASHContext),
2364 .flags_internal = FF_FMT_INIT_CLEANUP,2364 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
2365 .read_probe = dash_probe,2365 .read_probe = dash_probe,
2366 .read_header = dash_read_header,2366 .read_header = dash_read_header,
2367 .read_packet = dash_read_packet,2367 .read_packet = dash_read_packet,
libavformat/demux.c+1−1
@@ -302,7 +302,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, · 301 unmodified lines
302 302
303 if (ffifmt(s->iformat)->read_header)303 if (ffifmt(s->iformat)->read_header)
304 if ((ret = ffifmt(s->iformat)->read_header(s)) < 0) {304 if ((ret = ffifmt(s->iformat)->read_header(s)) < 0) {
305 if (ffifmt(s->iformat)->flags_internal & FF_FMT_INIT_CLEANUP)305 if (ffifmt(s->iformat)->flags_internal & FF_INFMT_FLAG_INIT_CLEANUP)
306 goto close;306 goto close;
307 goto fail;307 goto fail;
308 }308 }
libavformat/demux.h+7−1
@@ -28,6 +28,12 @@ · 27 unmodified lines
28 28
29struct AVDeviceInfoList;29struct AVDeviceInfoList;
30 30
31/**
32 * For an FFInputFormat with this flag set read_close() needs to be called
33 * by the caller upon read_header() failure.
34 */
35#define FF_INFMT_FLAG_INIT_CLEANUP (1 << 0)
36
31typedef struct FFInputFormat {37typedef struct FFInputFormat {
32 /**38 /**
33 * The public AVInputFormat. See avformat.h for it.39 * The public AVInputFormat. See avformat.h for it.
@@ -45,7 +51,7 @@ typedef struct FFInputFormat { · 11 unmodified lines
45 int priv_data_size;51 int priv_data_size;
46 52
47 /**53 /**
48 * Internal flags. See FF_FMT_FLAG_* in internal.h.54 * Internal flags. See FF_INFMT_FLAG_* above and FF_FMT_FLAG_* in internal.h.
49 */55 */
50 int flags_internal;56 int flags_internal;
51 57
libavformat/dvdvideodec.c+1−1
@@ -1705,7 +1705,7 @@ const FFInputFormat ff_dvdvideo_demuxer = { · 1704 unmodified lines
1705 .p.flags = AVFMT_NOFILE | AVFMT_SHOW_IDS | AVFMT_TS_DISCONT |1705 .p.flags = AVFMT_NOFILE | AVFMT_SHOW_IDS | AVFMT_TS_DISCONT |
1706 AVFMT_NO_BYTE_SEEK | AVFMT_NOGENSEARCH | AVFMT_NOBINSEARCH,1706 AVFMT_NO_BYTE_SEEK | AVFMT_NOGENSEARCH | AVFMT_NOBINSEARCH,
1707 .priv_data_size = sizeof(DVDVideoDemuxContext),1707 .priv_data_size = sizeof(DVDVideoDemuxContext),
1708 .flags_internal = FF_FMT_INIT_CLEANUP,1708 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1709 .read_close = dvdvideo_close,1709 .read_close = dvdvideo_close,
1710 .read_header = dvdvideo_read_header,1710 .read_header = dvdvideo_read_header,
1711 .read_packet = dvdvideo_read_packet1711 .read_packet = dvdvideo_read_packet
libavformat/evcdec.c+1−1
@@ -212,7 +212,7 @@ const FFInputFormat ff_evc_demuxer = { · 211 unmodified lines
212 .read_header = evc_read_header, // annexb_read_header212 .read_header = evc_read_header, // annexb_read_header
213 .read_packet = evc_read_packet, // annexb_read_packet213 .read_packet = evc_read_packet, // annexb_read_packet
214 .read_close = evc_read_close,214 .read_close = evc_read_close,
215 .flags_internal = FF_FMT_INIT_CLEANUP,215 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
216 .raw_codec_id = AV_CODEC_ID_EVC,216 .raw_codec_id = AV_CODEC_ID_EVC,
217 .priv_data_size = sizeof(EVCDemuxContext),217 .priv_data_size = sizeof(EVCDemuxContext),
218};218};
libavformat/hls.c+1−1
@@ -2602,7 +2602,7 @@ const FFInputFormat ff_hls_demuxer = { · 2601 unmodified lines
2602 .p.priv_class = &hls_class,2602 .p.priv_class = &hls_class,
2603 .p.flags = AVFMT_NOGENSEARCH | AVFMT_TS_DISCONT | AVFMT_NO_BYTE_SEEK,2603 .p.flags = AVFMT_NOGENSEARCH | AVFMT_TS_DISCONT | AVFMT_NO_BYTE_SEEK,
2604 .priv_data_size = sizeof(HLSContext),2604 .priv_data_size = sizeof(HLSContext),
2605 .flags_internal = FF_FMT_INIT_CLEANUP,2605 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
2606 .read_probe = hls_probe,2606 .read_probe = hls_probe,
2607 .read_header = hls_read_header,2607 .read_header = hls_read_header,
2608 .read_packet = hls_read_packet,2608 .read_packet = hls_read_packet,
libavformat/iamfdec.c+1−1
@@ -184,7 +184,7 @@ const FFInputFormat ff_iamf_demuxer = { · 183 unmodified lines
184 .p.extensions = "iamf",184 .p.extensions = "iamf",
185 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS | AVFMT_SHOW_IDS,185 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_NO_BYTE_SEEK | AVFMT_NOTIMESTAMPS | AVFMT_SHOW_IDS,
186 .priv_data_size = sizeof(IAMFDemuxContext),186 .priv_data_size = sizeof(IAMFDemuxContext),
187 .flags_internal = FF_FMT_INIT_CLEANUP,187 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
188 .read_probe = iamf_probe,188 .read_probe = iamf_probe,
189 .read_header = iamf_read_header,189 .read_header = iamf_read_header,
190 .read_packet = iamf_read_packet,190 .read_packet = iamf_read_packet,
libavformat/icodec.c+1−1
@@ -222,7 +222,7 @@ const FFInputFormat ff_ico_demuxer = { · 221 unmodified lines
222 .p.long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),222 .p.long_name = NULL_IF_CONFIG_SMALL("Microsoft Windows ICO"),
223 .p.flags = AVFMT_NOTIMESTAMPS,223 .p.flags = AVFMT_NOTIMESTAMPS,
224 .priv_data_size = sizeof(IcoDemuxContext),224 .priv_data_size = sizeof(IcoDemuxContext),
225 .flags_internal = FF_FMT_INIT_CLEANUP,225 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
226 .read_probe = probe,226 .read_probe = probe,
227 .read_header = read_header,227 .read_header = read_header,
228 .read_packet = read_packet,228 .read_packet = read_packet,
libavformat/imfdec.c+1−1
@@ -1019,7 +1019,7 @@ const FFInputFormat ff_imf_demuxer = { · 1018 unmodified lines
1019 .p.long_name = NULL_IF_CONFIG_SMALL("IMF (Interoperable Master Format)"),1019 .p.long_name = NULL_IF_CONFIG_SMALL("IMF (Interoperable Master Format)"),
1020 .p.flags = AVFMT_NO_BYTE_SEEK,1020 .p.flags = AVFMT_NO_BYTE_SEEK,
1021 .p.priv_class = &imf_class,1021 .p.priv_class = &imf_class,
1022 .flags_internal = FF_FMT_INIT_CLEANUP,1022 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1023 .priv_data_size = sizeof(IMFContext),1023 .priv_data_size = sizeof(IMFContext),
1024 .read_probe = imf_probe,1024 .read_probe = imf_probe,
1025 .read_header = imf_read_header,1025 .read_header = imf_read_header,
libavformat/internal.h+0−6
@@ -39,12 +39,6 @@ · 38 unmodified lines
39# define hex_dump_debug(class, buf, size) do { if (0) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size); } while(0)39# define hex_dump_debug(class, buf, size) do { if (0) av_hex_dump_log(class, AV_LOG_DEBUG, buf, size); } while(0)
40#endif40#endif
41 41
42/**
43 * For an FFInputFormat with this flag set read_close() needs to be called
44 * by the caller upon read_header() failure.
45 */
46#define FF_FMT_INIT_CLEANUP (1 << 0)
47
48typedef struct AVCodecTag {42typedef struct AVCodecTag {
49 enum AVCodecID id;43 enum AVCodecID id;
50 unsigned int tag;44 unsigned int tag;
libavformat/jacosubdec.c+1−1
@@ -261,7 +261,7 @@ const FFInputFormat ff_jacosub_demuxer = { · 260 unmodified lines
261 .p.name = "jacosub",261 .p.name = "jacosub",
262 .p.long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"),262 .p.long_name = NULL_IF_CONFIG_SMALL("JACOsub subtitle format"),
263 .priv_data_size = sizeof(JACOsubContext),263 .priv_data_size = sizeof(JACOsubContext),
264 .flags_internal = FF_FMT_INIT_CLEANUP,264 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
265 .read_probe = jacosub_probe,265 .read_probe = jacosub_probe,
266 .read_header = jacosub_read_header,266 .read_header = jacosub_read_header,
267 .read_packet = ff_subtitles_read_packet,267 .read_packet = ff_subtitles_read_packet,
libavformat/jpegxl_anim_dec.c+1−1
@@ -202,5 +202,5 @@ const FFInputFormat ff_jpegxl_anim_demuxer = { · 201 unmodified lines
202 .read_header = jpegxl_anim_read_header,202 .read_header = jpegxl_anim_read_header,
203 .read_packet = jpegxl_anim_read_packet,203 .read_packet = jpegxl_anim_read_packet,
204 .read_close = jpegxl_anim_close,204 .read_close = jpegxl_anim_close,
205 .flags_internal = FF_FMT_INIT_CLEANUP,205 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
206};206};
libavformat/jvdec.c+1−1
@@ -255,7 +255,7 @@ const FFInputFormat ff_jv_demuxer = { · 254 unmodified lines
255 .p.name = "jv",255 .p.name = "jv",
256 .p.long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV"),256 .p.long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV"),
257 .priv_data_size = sizeof(JVDemuxContext),257 .priv_data_size = sizeof(JVDemuxContext),
258 .flags_internal = FF_FMT_INIT_CLEANUP,258 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
259 .read_probe = read_probe,259 .read_probe = read_probe,
260 .read_header = read_header,260 .read_header = read_header,
261 .read_packet = read_packet,261 .read_packet = read_packet,
libavformat/lafdec.c+1−1
@@ -289,5 +289,5 @@ const FFInputFormat ff_laf_demuxer = { · 288 unmodified lines
289 .read_packet = laf_read_packet,289 .read_packet = laf_read_packet,
290 .read_close = laf_read_close,290 .read_close = laf_read_close,
291 .read_seek = laf_read_seek,291 .read_seek = laf_read_seek,
292 .flags_internal = FF_FMT_INIT_CLEANUP,292 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
293};293};
libavformat/libgme.c+1−1
@@ -199,7 +199,7 @@ const FFInputFormat ff_libgme_demuxer = { · 198 unmodified lines
199 .p.long_name = NULL_IF_CONFIG_SMALL("Game Music Emu demuxer"),199 .p.long_name = NULL_IF_CONFIG_SMALL("Game Music Emu demuxer"),
200 .p.priv_class = &class_gme,200 .p.priv_class = &class_gme,
201 .priv_data_size = sizeof(GMEContext),201 .priv_data_size = sizeof(GMEContext),
202 .flags_internal = FF_FMT_INIT_CLEANUP,202 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
203 .read_probe = probe_gme,203 .read_probe = probe_gme,
204 .read_header = read_header_gme,204 .read_header = read_header_gme,
205 .read_packet = read_packet_gme,205 .read_packet = read_packet_gme,
libavformat/libopenmpt.c+1−1
@@ -289,7 +289,7 @@ const FFInputFormat ff_libopenmpt_demuxer = { · 288 unmodified lines
289 .p.extensions = "669,amf,ams,dbm,digi,dmf,dsm,far,gdm,ice,imf,it,j2b,m15,mdl,med,mmcmp,mms,mo3,mod,mptm,mt2,mtm,nst,okt,plm,ppm,psm,pt36,ptm,s3m,sfx,sfx2,st26,stk,stm,ult,umx,wow,xm,xpk",289 .p.extensions = "669,amf,ams,dbm,digi,dmf,dsm,far,gdm,ice,imf,it,j2b,m15,mdl,med,mmcmp,mms,mo3,mod,mptm,mt2,mtm,nst,okt,plm,ppm,psm,pt36,ptm,s3m,sfx,sfx2,st26,stk,stm,ult,umx,wow,xm,xpk",
290#endif290#endif
291 .priv_data_size = sizeof(OpenMPTContext),291 .priv_data_size = sizeof(OpenMPTContext),
292 .flags_internal = FF_FMT_INIT_CLEANUP,292 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
293 .read_probe = read_probe_openmpt,293 .read_probe = read_probe_openmpt,
294 .read_header = read_header_openmpt,294 .read_header = read_header_openmpt,
295 .read_packet = read_packet_openmpt,295 .read_packet = read_packet_openmpt,
libavformat/lrcdec.c+1−1
@@ -229,7 +229,7 @@ const FFInputFormat ff_lrc_demuxer = { · 228 unmodified lines
229 .p.name = "lrc",229 .p.name = "lrc",
230 .p.long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"),230 .p.long_name = NULL_IF_CONFIG_SMALL("LRC lyrics"),
231 .priv_data_size = sizeof (LRCContext),231 .priv_data_size = sizeof (LRCContext),
232 .flags_internal = FF_FMT_INIT_CLEANUP,232 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
233 .read_probe = lrc_probe,233 .read_probe = lrc_probe,
234 .read_header = lrc_read_header,234 .read_header = lrc_read_header,
235 .read_packet = ff_subtitles_read_packet,235 .read_packet = ff_subtitles_read_packet,
libavformat/matroskadec.c+2−2
@@ -4792,7 +4792,7 @@ const FFInputFormat ff_webm_dash_manifest_demuxer = { · 4791 unmodified lines
4792 .p.long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"),4792 .p.long_name = NULL_IF_CONFIG_SMALL("WebM DASH Manifest"),
4793 .p.priv_class = &webm_dash_class,4793 .p.priv_class = &webm_dash_class,
4794 .priv_data_size = sizeof(MatroskaDemuxContext),4794 .priv_data_size = sizeof(MatroskaDemuxContext),
4795 .flags_internal = FF_FMT_INIT_CLEANUP,4795 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
4796 .read_header = webm_dash_manifest_read_header,4796 .read_header = webm_dash_manifest_read_header,
4797 .read_packet = webm_dash_manifest_read_packet,4797 .read_packet = webm_dash_manifest_read_packet,
4798 .read_close = matroska_read_close,4798 .read_close = matroska_read_close,
@@ -4805,7 +4805,7 @@ const FFInputFormat ff_matroska_demuxer = { · 6 unmodified lines
4805 .p.extensions = "mkv,mk3d,mka,mks,webm",4805 .p.extensions = "mkv,mk3d,mka,mks,webm",
4806 .p.mime_type = "audio/webm,audio/x-matroska,video/webm,video/x-matroska",4806 .p.mime_type = "audio/webm,audio/x-matroska,video/webm,video/x-matroska",
4807 .priv_data_size = sizeof(MatroskaDemuxContext),4807 .priv_data_size = sizeof(MatroskaDemuxContext),
4808 .flags_internal = FF_FMT_INIT_CLEANUP,4808 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
4809 .read_probe = matroska_probe,4809 .read_probe = matroska_probe,
4810 .read_header = matroska_read_header,4810 .read_header = matroska_read_header,
4811 .read_packet = matroska_read_packet,4811 .read_packet = matroska_read_packet,
libavformat/mccdec.c+1−1
@@ -206,7 +206,7 @@ const FFInputFormat ff_mcc_demuxer = { · 205 unmodified lines
206 .p.long_name = NULL_IF_CONFIG_SMALL("MacCaption"),206 .p.long_name = NULL_IF_CONFIG_SMALL("MacCaption"),
207 .p.extensions = "mcc",207 .p.extensions = "mcc",
208 .priv_data_size = sizeof(MCCContext),208 .priv_data_size = sizeof(MCCContext),
209 .flags_internal = FF_FMT_INIT_CLEANUP,209 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
210 .read_probe = mcc_probe,210 .read_probe = mcc_probe,
211 .read_header = mcc_read_header,211 .read_header = mcc_read_header,
212 .read_packet = ff_subtitles_read_packet,212 .read_packet = ff_subtitles_read_packet,
libavformat/microdvddec.c+1−1
@@ -204,7 +204,7 @@ const FFInputFormat ff_microdvd_demuxer = { · 203 unmodified lines
204 .p.long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),204 .p.long_name = NULL_IF_CONFIG_SMALL("MicroDVD subtitle format"),
205 .p.priv_class = &microdvd_class,205 .p.priv_class = &microdvd_class,
206 .priv_data_size = sizeof(MicroDVDContext),206 .priv_data_size = sizeof(MicroDVDContext),
207 .flags_internal = FF_FMT_INIT_CLEANUP,207 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
208 .read_probe = microdvd_probe,208 .read_probe = microdvd_probe,
209 .read_header = microdvd_read_header,209 .read_header = microdvd_read_header,
210 .read_packet = microdvd_read_packet,210 .read_packet = microdvd_read_packet,
libavformat/mlvdec.c+1−1
@@ -492,7 +492,7 @@ const FFInputFormat ff_mlv_demuxer = { · 491 unmodified lines
492 .p.name = "mlv",492 .p.name = "mlv",
493 .p.long_name = NULL_IF_CONFIG_SMALL("Magic Lantern Video (MLV)"),493 .p.long_name = NULL_IF_CONFIG_SMALL("Magic Lantern Video (MLV)"),
494 .priv_data_size = sizeof(MlvContext),494 .priv_data_size = sizeof(MlvContext),
495 .flags_internal = FF_FMT_INIT_CLEANUP,495 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
496 .read_probe = probe,496 .read_probe = probe,
497 .read_header = read_header,497 .read_header = read_header,
498 .read_packet = read_packet,498 .read_packet = read_packet,
libavformat/moflex.c+1−1
@@ -383,5 +383,5 @@ const FFInputFormat ff_moflex_demuxer = { · 382 unmodified lines
383 .read_packet = moflex_read_packet,383 .read_packet = moflex_read_packet,
384 .read_seek = moflex_read_seek,384 .read_seek = moflex_read_seek,
385 .read_close = moflex_read_close,385 .read_close = moflex_read_close,
386 .flags_internal = FF_FMT_INIT_CLEANUP,386 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
387};387};
libavformat/mov.c+1−1
@@ -10308,7 +10308,7 @@ const FFInputFormat ff_mov_demuxer = { · 10307 unmodified lines
10308 .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif,heic,heif",10308 .p.extensions = "mov,mp4,m4a,3gp,3g2,mj2,psp,m4b,ism,ismv,isma,f4v,avif,heic,heif",
10309 .p.flags = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS | AVFMT_SHOW_IDS,10309 .p.flags = AVFMT_NO_BYTE_SEEK | AVFMT_SEEK_TO_PTS | AVFMT_SHOW_IDS,
10310 .priv_data_size = sizeof(MOVContext),10310 .priv_data_size = sizeof(MOVContext),
10311 .flags_internal = FF_FMT_INIT_CLEANUP,10311 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
10312 .read_probe = mov_probe,10312 .read_probe = mov_probe,
10313 .read_header = mov_read_header,10313 .read_header = mov_read_header,
10314 .read_packet = mov_read_packet,10314 .read_packet = mov_read_packet,
libavformat/mpeg.c+1−1
@@ -1055,7 +1055,7 @@ const FFInputFormat ff_vobsub_demuxer = { · 1054 unmodified lines
1055 .p.extensions = "idx",1055 .p.extensions = "idx",
1056 .p.priv_class = &vobsub_demuxer_class,1056 .p.priv_class = &vobsub_demuxer_class,
1057 .priv_data_size = sizeof(VobSubDemuxContext),1057 .priv_data_size = sizeof(VobSubDemuxContext),
1058 .flags_internal = FF_FMT_INIT_CLEANUP,1058 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1059 .read_probe = vobsub_probe,1059 .read_probe = vobsub_probe,
1060 .read_header = vobsub_read_header,1060 .read_header = vobsub_read_header,
1061 .read_packet = vobsub_read_packet,1061 .read_packet = vobsub_read_packet,
libavformat/mpl2dec.c+1−1
@@ -128,7 +128,7 @@ const FFInputFormat ff_mpl2_demuxer = { · 127 unmodified lines
128 .p.long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitles"),128 .p.long_name = NULL_IF_CONFIG_SMALL("MPL2 subtitles"),
129 .p.extensions = "txt,mpl2",129 .p.extensions = "txt,mpl2",
130 .priv_data_size = sizeof(MPL2Context),130 .priv_data_size = sizeof(MPL2Context),
131 .flags_internal = FF_FMT_INIT_CLEANUP,131 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
132 .read_probe = mpl2_probe,132 .read_probe = mpl2_probe,
133 .read_header = mpl2_read_header,133 .read_header = mpl2_read_header,
134 .read_packet = ff_subtitles_read_packet,134 .read_packet = ff_subtitles_read_packet,
libavformat/mpsubdec.c+1−1
@@ -176,7 +176,7 @@ const FFInputFormat ff_mpsub_demuxer = { · 175 unmodified lines
176 .p.long_name = NULL_IF_CONFIG_SMALL("MPlayer subtitles"),176 .p.long_name = NULL_IF_CONFIG_SMALL("MPlayer subtitles"),
177 .p.extensions = "sub",177 .p.extensions = "sub",
178 .priv_data_size = sizeof(MPSubContext),178 .priv_data_size = sizeof(MPSubContext),
179 .flags_internal = FF_FMT_INIT_CLEANUP,179 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
180 .read_probe = mpsub_probe,180 .read_probe = mpsub_probe,
181 .read_header = mpsub_read_header,181 .read_header = mpsub_read_header,
182 .read_packet = ff_subtitles_read_packet,182 .read_packet = ff_subtitles_read_packet,
libavformat/mxfdec.c+1−1
@@ -4265,7 +4265,7 @@ const FFInputFormat ff_mxf_demuxer = { · 4264 unmodified lines
4265 .p.flags = AVFMT_SEEK_TO_PTS,4265 .p.flags = AVFMT_SEEK_TO_PTS,
4266 .p.priv_class = &demuxer_class,4266 .p.priv_class = &demuxer_class,
4267 .priv_data_size = sizeof(MXFContext),4267 .priv_data_size = sizeof(MXFContext),
4268 .flags_internal = FF_FMT_INIT_CLEANUP,4268 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
4269 .read_probe = mxf_probe,4269 .read_probe = mxf_probe,
4270 .read_header = mxf_read_header,4270 .read_header = mxf_read_header,
4271 .read_packet = mxf_read_packet,4271 .read_packet = mxf_read_packet,
libavformat/nsvdec.c+1−1
@@ -752,7 +752,7 @@ const FFInputFormat ff_nsv_demuxer = { · 751 unmodified lines
752 .p.name = "nsv",752 .p.name = "nsv",
753 .p.long_name = NULL_IF_CONFIG_SMALL("Nullsoft Streaming Video"),753 .p.long_name = NULL_IF_CONFIG_SMALL("Nullsoft Streaming Video"),
754 .priv_data_size = sizeof(NSVContext),754 .priv_data_size = sizeof(NSVContext),
755 .flags_internal = FF_FMT_INIT_CLEANUP,755 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
756 .read_probe = nsv_probe,756 .read_probe = nsv_probe,
757 .read_header = nsv_read_header,757 .read_header = nsv_read_header,
758 .read_packet = nsv_read_packet,758 .read_packet = nsv_read_packet,
libavformat/nutdec.c+1−1
@@ -1313,7 +1313,7 @@ const FFInputFormat ff_nut_demuxer = { · 1312 unmodified lines
1313 .p.extensions = "nut",1313 .p.extensions = "nut",
1314 .p.codec_tag = ff_nut_codec_tags,1314 .p.codec_tag = ff_nut_codec_tags,
1315 .priv_data_size = sizeof(NUTContext),1315 .priv_data_size = sizeof(NUTContext),
1316 .flags_internal = FF_FMT_INIT_CLEANUP,1316 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1317 .read_probe = nut_probe,1317 .read_probe = nut_probe,
1318 .read_header = nut_read_header,1318 .read_header = nut_read_header,
1319 .read_packet = nut_read_packet,1319 .read_packet = nut_read_packet,
libavformat/oggdec.c+1−1
@@ -966,7 +966,7 @@ const FFInputFormat ff_ogg_demuxer = { · 965 unmodified lines
966 .p.extensions = "ogg",966 .p.extensions = "ogg",
967 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT | AVFMT_NOBINSEARCH,967 .p.flags = AVFMT_GENERIC_INDEX | AVFMT_TS_DISCONT | AVFMT_NOBINSEARCH,
968 .priv_data_size = sizeof(struct ogg),968 .priv_data_size = sizeof(struct ogg),
969 .flags_internal = FF_FMT_INIT_CLEANUP,969 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
970 .read_probe = ogg_probe,970 .read_probe = ogg_probe,
971 .read_header = ogg_read_header,971 .read_header = ogg_read_header,
972 .read_packet = ogg_read_packet,972 .read_packet = ogg_read_packet,
libavformat/omadec.c+1−1
@@ -615,7 +615,7 @@ const FFInputFormat ff_oma_demuxer = { · 614 unmodified lines
615 .p.extensions = "oma,omg,aa3",615 .p.extensions = "oma,omg,aa3",
616 .p.codec_tag = ff_oma_codec_tags_list,616 .p.codec_tag = ff_oma_codec_tags_list,
617 .priv_data_size = sizeof(OMAContext),617 .priv_data_size = sizeof(OMAContext),
618 .flags_internal = FF_FMT_INIT_CLEANUP,618 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
619 .read_probe = oma_read_probe,619 .read_probe = oma_read_probe,
620 .read_header = oma_read_header,620 .read_header = oma_read_header,
621 .read_packet = oma_read_packet,621 .read_packet = oma_read_packet,
libavformat/paf.c+1−1
@@ -270,7 +270,7 @@ const FFInputFormat ff_paf_demuxer = { · 269 unmodified lines
270 .p.name = "paf",270 .p.name = "paf",
271 .p.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File"),271 .p.long_name = NULL_IF_CONFIG_SMALL("Amazing Studio Packed Animation File"),
272 .priv_data_size = sizeof(PAFDemuxContext),272 .priv_data_size = sizeof(PAFDemuxContext),
273 .flags_internal = FF_FMT_INIT_CLEANUP,273 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
274 .read_probe = read_probe,274 .read_probe = read_probe,
275 .read_header = read_header,275 .read_header = read_header,
276 .read_packet = read_packet,276 .read_packet = read_packet,
libavformat/pdvdec.c+1−1
@@ -165,7 +165,7 @@ const FFInputFormat ff_pdv_demuxer = { · 164 unmodified lines
165 .p.long_name = NULL_IF_CONFIG_SMALL("PlayDate Video"),165 .p.long_name = NULL_IF_CONFIG_SMALL("PlayDate Video"),
166 .p.extensions = "pdv",166 .p.extensions = "pdv",
167 .priv_data_size = sizeof(PDVDemuxContext),167 .priv_data_size = sizeof(PDVDemuxContext),
168 .flags_internal = FF_FMT_INIT_CLEANUP,168 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
169 .read_probe = pdv_probe,169 .read_probe = pdv_probe,
170 .read_header = pdv_read_header,170 .read_header = pdv_read_header,
171 .read_packet = pdv_read_packet,171 .read_packet = pdv_read_packet,
libavformat/pjsdec.c+1−1
@@ -111,7 +111,7 @@ const FFInputFormat ff_pjs_demuxer = { · 110 unmodified lines
111 .p.long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitles"),111 .p.long_name = NULL_IF_CONFIG_SMALL("PJS (Phoenix Japanimation Society) subtitles"),
112 .p.extensions = "pjs",112 .p.extensions = "pjs",
113 .priv_data_size = sizeof(PJSContext),113 .priv_data_size = sizeof(PJSContext),
114 .flags_internal = FF_FMT_INIT_CLEANUP,114 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
115 .read_probe = pjs_probe,115 .read_probe = pjs_probe,
116 .read_header = pjs_read_header,116 .read_header = pjs_read_header,
117 .read_packet = ff_subtitles_read_packet,117 .read_packet = ff_subtitles_read_packet,
libavformat/pp_bnk.c+1−1
@@ -320,7 +320,7 @@ const FFInputFormat ff_pp_bnk_demuxer = { · 319 unmodified lines
320 .p.name = "pp_bnk",320 .p.name = "pp_bnk",
321 .p.long_name = NULL_IF_CONFIG_SMALL("Pro Pinball Series Soundbank"),321 .p.long_name = NULL_IF_CONFIG_SMALL("Pro Pinball Series Soundbank"),
322 .priv_data_size = sizeof(PPBnkCtx),322 .priv_data_size = sizeof(PPBnkCtx),
323 .flags_internal = FF_FMT_INIT_CLEANUP,323 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
324 .read_probe = pp_bnk_probe,324 .read_probe = pp_bnk_probe,
325 .read_header = pp_bnk_read_header,325 .read_header = pp_bnk_read_header,
326 .read_packet = pp_bnk_read_packet,326 .read_packet = pp_bnk_read_packet,
libavformat/realtextdec.c+1−1
@@ -137,7 +137,7 @@ const FFInputFormat ff_realtext_demuxer = { · 136 unmodified lines
137 .p.long_name = NULL_IF_CONFIG_SMALL("RealText subtitle format"),137 .p.long_name = NULL_IF_CONFIG_SMALL("RealText subtitle format"),
138 .p.extensions = "rt",138 .p.extensions = "rt",
139 .priv_data_size = sizeof(RealTextContext),139 .priv_data_size = sizeof(RealTextContext),
140 .flags_internal = FF_FMT_INIT_CLEANUP,140 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
141 .read_probe = realtext_probe,141 .read_probe = realtext_probe,
142 .read_header = realtext_read_header,142 .read_header = realtext_read_header,
143 .read_packet = ff_subtitles_read_packet,143 .read_packet = ff_subtitles_read_packet,
libavformat/rmdec.c+2−2
@@ -1149,7 +1149,7 @@ const FFInputFormat ff_rm_demuxer = { · 1148 unmodified lines
1149 .p.name = "rm",1149 .p.name = "rm",
1150 .p.long_name = NULL_IF_CONFIG_SMALL("RealMedia"),1150 .p.long_name = NULL_IF_CONFIG_SMALL("RealMedia"),
1151 .priv_data_size = sizeof(RMDemuxContext),1151 .priv_data_size = sizeof(RMDemuxContext),
1152 .flags_internal = FF_FMT_INIT_CLEANUP,1152 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1153 .read_probe = rm_probe,1153 .read_probe = rm_probe,
1154 .read_header = rm_read_header,1154 .read_header = rm_read_header,
1155 .read_packet = rm_read_packet,1155 .read_packet = rm_read_packet,
@@ -1403,7 +1403,7 @@ const FFInputFormat ff_ivr_demuxer = { · 247 unmodified lines
1403 .p.long_name = NULL_IF_CONFIG_SMALL("IVR (Internet Video Recording)"),1403 .p.long_name = NULL_IF_CONFIG_SMALL("IVR (Internet Video Recording)"),
1404 .p.extensions = "ivr",1404 .p.extensions = "ivr",
1405 .priv_data_size = sizeof(RMDemuxContext),1405 .priv_data_size = sizeof(RMDemuxContext),
1406 .flags_internal = FF_FMT_INIT_CLEANUP,1406 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
1407 .read_probe = ivr_probe,1407 .read_probe = ivr_probe,
1408 .read_header = ivr_read_header,1408 .read_header = ivr_read_header,
1409 .read_packet = ivr_read_packet,1409 .read_packet = ivr_read_packet,
libavformat/samidec.c+1−1
@@ -127,7 +127,7 @@ const FFInputFormat ff_sami_demuxer = { · 126 unmodified lines
127 .p.long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle format"),127 .p.long_name = NULL_IF_CONFIG_SMALL("SAMI subtitle format"),
128 .p.extensions = "smi,sami",128 .p.extensions = "smi,sami",
129 .priv_data_size = sizeof(SAMIContext),129 .priv_data_size = sizeof(SAMIContext),
130 .flags_internal = FF_FMT_INIT_CLEANUP,130 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
131 .read_probe = sami_probe,131 .read_probe = sami_probe,
132 .read_header = sami_read_header,132 .read_header = sami_read_header,
133 .read_packet = ff_subtitles_read_packet,133 .read_packet = ff_subtitles_read_packet,
libavformat/sccdec.c+1−1
@@ -152,7 +152,7 @@ const FFInputFormat ff_scc_demuxer = { · 151 unmodified lines
152 .p.long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"),152 .p.long_name = NULL_IF_CONFIG_SMALL("Scenarist Closed Captions"),
153 .p.extensions = "scc",153 .p.extensions = "scc",
154 .priv_data_size = sizeof(SCCContext),154 .priv_data_size = sizeof(SCCContext),
155 .flags_internal = FF_FMT_INIT_CLEANUP,155 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
156 .read_probe = scc_probe,156 .read_probe = scc_probe,
157 .read_header = scc_read_header,157 .read_header = scc_read_header,
158 .read_packet = ff_subtitles_read_packet,158 .read_packet = ff_subtitles_read_packet,
libavformat/scd.c+1−1
@@ -370,7 +370,7 @@ const FFInputFormat ff_scd_demuxer = { · 369 unmodified lines
370 .p.name = "scd",370 .p.name = "scd",
371 .p.long_name = NULL_IF_CONFIG_SMALL("Square Enix SCD"),371 .p.long_name = NULL_IF_CONFIG_SMALL("Square Enix SCD"),
372 .priv_data_size = sizeof(SCDDemuxContext),372 .priv_data_size = sizeof(SCDDemuxContext),
373 .flags_internal = FF_FMT_INIT_CLEANUP,373 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
374 .read_probe = scd_probe,374 .read_probe = scd_probe,
375 .read_header = scd_read_header,375 .read_header = scd_read_header,
376 .read_packet = scd_read_packet,376 .read_packet = scd_read_packet,
libavformat/segafilm.c+1−1
@@ -329,7 +329,7 @@ const FFInputFormat ff_segafilm_demuxer = { · 328 unmodified lines
329 .p.name = "film_cpk",329 .p.name = "film_cpk",
330 .p.long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),330 .p.long_name = NULL_IF_CONFIG_SMALL("Sega FILM / CPK"),
331 .priv_data_size = sizeof(FilmDemuxContext),331 .priv_data_size = sizeof(FilmDemuxContext),
332 .flags_internal = FF_FMT_INIT_CLEANUP,332 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
333 .read_probe = film_probe,333 .read_probe = film_probe,
334 .read_header = film_read_header,334 .read_header = film_read_header,
335 .read_packet = film_read_packet,335 .read_packet = film_read_packet,
libavformat/sierravmd.c+1−1
@@ -318,7 +318,7 @@ const FFInputFormat ff_vmd_demuxer = { · 317 unmodified lines
318 .p.name = "vmd",318 .p.name = "vmd",
319 .p.long_name = NULL_IF_CONFIG_SMALL("Sierra VMD"),319 .p.long_name = NULL_IF_CONFIG_SMALL("Sierra VMD"),
320 .priv_data_size = sizeof(VmdDemuxContext),320 .priv_data_size = sizeof(VmdDemuxContext),
321 .flags_internal = FF_FMT_INIT_CLEANUP,321 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
322 .read_probe = vmd_probe,322 .read_probe = vmd_probe,
323 .read_header = vmd_read_header,323 .read_header = vmd_read_header,
324 .read_packet = vmd_read_packet,324 .read_packet = vmd_read_packet,
libavformat/srtdec.c+1−1
@@ -218,7 +218,7 @@ const FFInputFormat ff_srt_demuxer = { · 217 unmodified lines
218 .p.name = "srt",218 .p.name = "srt",
219 .p.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),219 .p.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
220 .priv_data_size = sizeof(SRTContext),220 .priv_data_size = sizeof(SRTContext),
221 .flags_internal = FF_FMT_INIT_CLEANUP,221 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
222 .read_probe = srt_probe,222 .read_probe = srt_probe,
223 .read_header = srt_read_header,223 .read_header = srt_read_header,
224 .read_packet = ff_subtitles_read_packet,224 .read_packet = ff_subtitles_read_packet,
libavformat/stldec.c+1−1
@@ -114,7 +114,7 @@ const FFInputFormat ff_stl_demuxer = { · 113 unmodified lines
114 .p.long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),114 .p.long_name = NULL_IF_CONFIG_SMALL("Spruce subtitle format"),
115 .p.extensions = "stl",115 .p.extensions = "stl",
116 .priv_data_size = sizeof(STLContext),116 .priv_data_size = sizeof(STLContext),
117 .flags_internal = FF_FMT_INIT_CLEANUP,117 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
118 .read_probe = stl_probe,118 .read_probe = stl_probe,
119 .read_header = stl_read_header,119 .read_header = stl_read_header,
120 .read_packet = ff_subtitles_read_packet,120 .read_packet = ff_subtitles_read_packet,
libavformat/subviewer1dec.c+1−1
@@ -96,7 +96,7 @@ const FFInputFormat ff_subviewer1_demuxer = { · 95 unmodified lines
96 .p.long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle format"),96 .p.long_name = NULL_IF_CONFIG_SMALL("SubViewer v1 subtitle format"),
97 .p.extensions = "sub",97 .p.extensions = "sub",
98 .priv_data_size = sizeof(SubViewer1Context),98 .priv_data_size = sizeof(SubViewer1Context),
99 .flags_internal = FF_FMT_INIT_CLEANUP,99 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
100 .read_probe = subviewer1_probe,100 .read_probe = subviewer1_probe,
101 .read_header = subviewer1_read_header,101 .read_header = subviewer1_read_header,
102 .read_packet = ff_subtitles_read_packet,102 .read_packet = ff_subtitles_read_packet,
libavformat/subviewerdec.c+1−1
@@ -191,7 +191,7 @@ const FFInputFormat ff_subviewer_demuxer = { · 190 unmodified lines
191 .p.long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle format"),191 .p.long_name = NULL_IF_CONFIG_SMALL("SubViewer subtitle format"),
192 .p.extensions = "sub",192 .p.extensions = "sub",
193 .priv_data_size = sizeof(SubViewerContext),193 .priv_data_size = sizeof(SubViewerContext),
194 .flags_internal = FF_FMT_INIT_CLEANUP,194 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
195 .read_probe = subviewer_probe,195 .read_probe = subviewer_probe,
196 .read_header = subviewer_read_header,196 .read_header = subviewer_read_header,
197 .read_packet = ff_subtitles_read_packet,197 .read_packet = ff_subtitles_read_packet,
libavformat/tedcaptionsdec.c+1−1
@@ -361,7 +361,7 @@ const FFInputFormat ff_tedcaptions_demuxer = { · 360 unmodified lines
361 .p.long_name = NULL_IF_CONFIG_SMALL("TED Talks captions"),361 .p.long_name = NULL_IF_CONFIG_SMALL("TED Talks captions"),
362 .p.priv_class = &tedcaptions_demuxer_class,362 .p.priv_class = &tedcaptions_demuxer_class,
363 .priv_data_size = sizeof(TEDCaptionsDemuxer),363 .priv_data_size = sizeof(TEDCaptionsDemuxer),
364 .flags_internal = FF_FMT_INIT_CLEANUP,364 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
365 .read_header = tedcaptions_read_header,365 .read_header = tedcaptions_read_header,
366 .read_packet = tedcaptions_read_packet,366 .read_packet = tedcaptions_read_packet,
367 .read_close = tedcaptions_read_close,367 .read_close = tedcaptions_read_close,
libavformat/tiertexseq.c+1−1
@@ -312,7 +312,7 @@ const FFInputFormat ff_tiertexseq_demuxer = { · 311 unmodified lines
312 .p.name = "tiertexseq",312 .p.name = "tiertexseq",
313 .p.long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ"),313 .p.long_name = NULL_IF_CONFIG_SMALL("Tiertex Limited SEQ"),
314 .priv_data_size = sizeof(SeqDemuxContext),314 .priv_data_size = sizeof(SeqDemuxContext),
315 .flags_internal = FF_FMT_INIT_CLEANUP,315 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
316 .read_probe = seq_probe,316 .read_probe = seq_probe,
317 .read_header = seq_read_header,317 .read_header = seq_read_header,
318 .read_packet = seq_read_packet,318 .read_packet = seq_read_packet,
libavformat/vapoursynth.c+1−1
@@ -486,7 +486,7 @@ const FFInputFormat ff_vapoursynth_demuxer = { · 485 unmodified lines
486 .p.long_name = NULL_IF_CONFIG_SMALL("VapourSynth demuxer"),486 .p.long_name = NULL_IF_CONFIG_SMALL("VapourSynth demuxer"),
487 .p.priv_class = &class_vs,487 .p.priv_class = &class_vs,
488 .priv_data_size = sizeof(VSContext),488 .priv_data_size = sizeof(VSContext),
489 .flags_internal = FF_FMT_INIT_CLEANUP,489 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
490 .read_probe = probe_vs,490 .read_probe = probe_vs,
491 .read_header = read_header_vs,491 .read_header = read_header_vs,
492 .read_packet = read_packet_vs,492 .read_packet = read_packet_vs,
libavformat/vividas.c+1−1
@@ -795,7 +795,7 @@ const FFInputFormat ff_vividas_demuxer = { · 794 unmodified lines
795 .p.name = "vividas",795 .p.name = "vividas",
796 .p.long_name = NULL_IF_CONFIG_SMALL("Vividas VIV"),796 .p.long_name = NULL_IF_CONFIG_SMALL("Vividas VIV"),
797 .priv_data_size = sizeof(VividasDemuxContext),797 .priv_data_size = sizeof(VividasDemuxContext),
798 .flags_internal = FF_FMT_INIT_CLEANUP,798 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
799 .read_probe = viv_probe,799 .read_probe = viv_probe,
800 .read_header = viv_read_header,800 .read_header = viv_read_header,
801 .read_packet = viv_read_packet,801 .read_packet = viv_read_packet,
libavformat/vplayerdec.c+1−1
@@ -101,7 +101,7 @@ const FFInputFormat ff_vplayer_demuxer = { · 100 unmodified lines
101 .p.long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitles"),101 .p.long_name = NULL_IF_CONFIG_SMALL("VPlayer subtitles"),
102 .p.extensions = "txt",102 .p.extensions = "txt",
103 .priv_data_size = sizeof(VPlayerContext),103 .priv_data_size = sizeof(VPlayerContext),
104 .flags_internal = FF_FMT_INIT_CLEANUP,104 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
105 .read_probe = vplayer_probe,105 .read_probe = vplayer_probe,
106 .read_header = vplayer_read_header,106 .read_header = vplayer_read_header,
107 .read_packet = ff_subtitles_read_packet,107 .read_packet = ff_subtitles_read_packet,
libavformat/wc3movie.c+1−1
@@ -298,7 +298,7 @@ const FFInputFormat ff_wc3_demuxer = { · 297 unmodified lines
298 .p.name = "wc3movie",298 .p.name = "wc3movie",
299 .p.long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"),299 .p.long_name = NULL_IF_CONFIG_SMALL("Wing Commander III movie"),
300 .priv_data_size = sizeof(Wc3DemuxContext),300 .priv_data_size = sizeof(Wc3DemuxContext),
301 .flags_internal = FF_FMT_INIT_CLEANUP,301 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
302 .read_probe = wc3_probe,302 .read_probe = wc3_probe,
303 .read_header = wc3_read_header,303 .read_header = wc3_read_header,
304 .read_packet = wc3_read_packet,304 .read_packet = wc3_read_packet,
libavformat/webvttdec.c+1−1
@@ -219,7 +219,7 @@ const FFInputFormat ff_webvtt_demuxer = { · 218 unmodified lines
219 .p.extensions = "vtt",219 .p.extensions = "vtt",
220 .p.priv_class = &webvtt_demuxer_class,220 .p.priv_class = &webvtt_demuxer_class,
221 .priv_data_size = sizeof(WebVTTContext),221 .priv_data_size = sizeof(WebVTTContext),
222 .flags_internal = FF_FMT_INIT_CLEANUP,222 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
223 .read_probe = webvtt_probe,223 .read_probe = webvtt_probe,
224 .read_header = webvtt_read_header,224 .read_header = webvtt_read_header,
225 .read_packet = webvtt_read_packet,225 .read_packet = webvtt_read_packet,
libavformat/xmv.c+1−1
@@ -581,7 +581,7 @@ const FFInputFormat ff_xmv_demuxer = { · 580 unmodified lines
581 .p.long_name = NULL_IF_CONFIG_SMALL("Microsoft XMV"),581 .p.long_name = NULL_IF_CONFIG_SMALL("Microsoft XMV"),
582 .p.extensions = "xmv",582 .p.extensions = "xmv",
583 .priv_data_size = sizeof(XMVDemuxContext),583 .priv_data_size = sizeof(XMVDemuxContext),
584 .flags_internal = FF_FMT_INIT_CLEANUP,584 .flags_internal = FF_INFMT_FLAG_INIT_CLEANUP,
585 .read_probe = xmv_probe,585 .read_probe = xmv_probe,
586 .read_header = xmv_read_header,586 .read_header = xmv_read_header,
587 .read_packet = xmv_read_packet,587 .read_packet = xmv_read_packet,

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