[Libav-user] Using av_write_frame AFTER av_write_trailer

Aleksei Komarov abkomarov at gmail.com
Wed Mar 20 12:26:47 EET 2024


Hi,
I'm using avio_alloc_context with my own "write_buffer_proc" to override
file procedures.
I am trying to continue writing the stream with av_write_frame AFTER
av_write_trailer was called.
But av_write_trailer has some strange side effects.
The result is AV in module 'avformat-58.dll'. Read of address
0000000000000090
I think that FormatContext becomes invalid after av_write_trailer?

Can I try to save FormatContext somewhere before calling av_write_trailer ?


With best regards,
Alex K
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20240320/ebb8958d/attachment.htm>


More information about the Libav-user mailing list