It is of no value to the user, because every muxer can always be flushed with a NULL packet. As its documentation shows ("If not set, the muxer will not receive a NULL packet in the write_packet function") it is actually an internal flag that has been publically exposed because there was no internal flags field for output formats for a long time. But now there is and so use it by replacing the public flag with a private one.
Showing the changes to doc/APIchanges (1 of 15 files). Show all
Unified · Split
| @@ -2,6 +2,10 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line | |||
| 2 | 2 | ||
| 3 | API changes, most recent first: | 3 | API changes, most recent first: |
| 4 | 4 | ||
| 5 | 2023-10-03 - xxxxxxxxxx - lavf 60.14.100 - avformat.h | ||
| 6 | Deprecate AVFMT_ALLOW_FLUSH without replacement. Users can always | ||
| 7 | flush any muxer by sending a NULL packet. | ||
| 8 | |||
| 5 | 2023-09-28 - xxxxxxxxxx - lavu 58.27.100 - pixfmt.h | 9 | 2023-09-28 - xxxxxxxxxx - lavu 58.27.100 - pixfmt.h |
| 6 | Add AV_PIX_FMT_GBRAP14BE, AV_PIX_FMT_GBRAP14LE pixel formats. | 10 | Add AV_PIX_FMT_GBRAP14BE, AV_PIX_FMT_GBRAP14LE pixel formats. |
| 7 | 11 | ||