Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: Fix writing of markers

2023-08-29 Thread Martin Storsjö
On Mon, 28 Aug 2023, Martin Storsjö wrote: On Mon, 28 Aug 2023, Steinar H. Gunderson wrote: When the marker writing code was merged from libav to FFmpeg in dc62016c, it failed to take into account that the meaning of cluster_pos had changed in bda5b662; in particular, the special value for “I'

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: Fix writing of markers

2023-08-28 Thread Martin Storsjö
On Mon, 28 Aug 2023, Steinar H. Gunderson wrote: When the marker writing code was merged from libav to FFmpeg in dc62016c, it failed to take into account that the meaning of cluster_pos had changed in bda5b662; in particular, the special value for “I'm not currently working on a cluster” had cha

[FFmpeg-devel] [PATCH] avformat/matroskaenc: Fix writing of markers

2023-08-28 Thread Steinar H. Gunderson
When the marker writing code was merged from libav to FFmpeg in dc62016c, it failed to take into account that the meaning of cluster_pos had changed in bda5b662; in particular, the special value for “I'm not currently working on a cluster” had changed from 0 to -1. This makes the avio_write_marker(