On 11/17/2014 2:28 PM, Martin Storsjö wrote:
> When given a stream starting at dts=0, it would previously consider
> s->offset as uninitialized and set an offset when the second packet
> was written, ending up writing two packets with dts=0. By initializing
> this field to AV_NOPTS_VALUE, we make sure that we only initialize it
> once, on the first packet.
> ---
>  libavformat/mux.c     | 4 ++--
>  libavformat/options.c | 1 +
>  2 files changed, 3 insertions(+), 2 deletions(-)

OK.

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

Reply via email to