summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-12-12 13:37:37 +0100
committerAnton Khirnov <anton@khirnov.net>2022-07-23 11:53:19 +0200
commitec00b005f9fa0942954bfc865f3b9606aa957a3c (patch)
treef41d1a79ae8484d3ff9ed4913bc7822dae44bddb /configure
parent6999a3cb18869726ffc8a246ffa211f07efbfeb6 (diff)
fftools/ffmpeg_mux: split of_write_packet()
It is currently called from two places: - output_packet() in ffmpeg.c, which submits the newly available output packet to the muxer - from of_check_init() in ffmpeg_mux.c after the header has been written, to flush the muxing queue Some packets will thus be processed by this function twice, so it requires an extra parameter to indicate the place it is called from and avoid modifying some state twice. This is fragile and hard to follow, so split this function into two. Also rename of_write_packet() to of_submit_packet() to better reflect its new purpose.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions