Hi. I am trying to reuse already created instances of
AVFormatContext,AVCodecContext
and AVIOContext. My question is related to avformat_write_header() with
parameters.

At the end of the session I usually call  avcodec_parameters_free  to free
internal buffers.

Do I have also to call this method if I want to write header second or
third time to the same AVFormatContext instance?

Second question: is  extradata like SPS PPS  deallocated  as well,when I
call avcodec_parameters_free  ?

Thanks!
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to