On Sun, 5 Jan 2020, Marton Balint wrote:

The IO context is flushed by libavformat/mux.c after writing the header by 
calling
avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_UNKNOWN), so this
change should have no effect at all.

Signed-off-by: Marton Balint <c...@passwd.hu>

If I read avio_write_marker correctly, it won't do an implicit flush on these calls unless the user actually has set the s->write_data_type function pointer - which only is set when used by direct API users.

So for normal cases, if I read it correctly, one can't assume avio_write_marker implies a flush in general.

// Martin

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to