<div dir="ltr"><div>Hi,</div><div>I'm using avio_alloc_context with my own "write_buffer_proc" to override file procedures.</div><div>I am trying to continue writing the stream with av_write_frame AFTER av_write_trailer was called.</div><div>But av_write_trailer has some strange side effects.</div><div>The result is AV in module 'avformat-58.dll'. Read of address 0000000000000090</div><div>I think that FormatContext becomes invalid after av_write_trailer?</div><div><br></div><div>Can I try to save FormatContext somewhere before calling av_write_trailer ?</div><div><br></div><div><br></div><div><div>With best regards,</div><div>Alex K</div><font color="#888888">--</font><br></div></div>