On Sat, 7 Mar 2015, Martin Storsjö wrote:

This avoids assuming that e.g. audio samples are marked as
sync samples.

This allows omitting the sample flags from trun, if the default
flags happen to be right for all the samples.
---
libavformat/movenc.c | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)

This should be pretty straightforward to review - it only tries to set a smarter default value (by using actual data instead of a hardcoded default), to increase the chances that this value doesn't have to be written once per sample. There shouldn't be any way that this can be a worse guess than what we have right now.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to