Hi Andreas On Sun, Mar 09, 2025 at 07:18:34PM +0100, Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > Avoids accessing internals of PutBitContext. [...] > > @@ -323,7 +323,7 @@ static int swf_write_header(AVFormatContext *s) > > put_bits(&p, 5, 0); > > > > flush_put_bits(&p); > > - avio_write(pb, buf1, put_bits_ptr(&p) - p.buf); > > + avio_write(pb, buf1, put_bytes_output(&p)); > > > > put_swf_end_tag(s); > > } > > Will apply tomorrow unless there are objections. i like the new code more thanks for improving this and other things [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What does censorship reveal? It reveals fear. -- Julian Assange