Steve Lhomme:
>> On April 19, 2020 9:11 AM Andreas Rheinhardt
>> wrote:
>>
>>
>> Steve Lhomme:
>>> Wouldn't it be better to set the AVLFG in the MatroskaMuxContext in
>>> mkv_init and keep using it when needed ?
>>>
>>> Then you can still update UIDs in the location you really need to create
> On April 19, 2020 9:11 AM Andreas Rheinhardt
> wrote:
>
>
> Steve Lhomme:
> > Wouldn't it be better to set the AVLFG in the MatroskaMuxContext in
> > mkv_init and keep using it when needed ?
> >
> > Then you can still update UIDs in the location you really need to create
> > them.
> >
>
Steve Lhomme:
> Wouldn't it be better to set the AVLFG in the MatroskaMuxContext in mkv_init
> and keep using it when needed ?
>
> Then you can still update UIDs in the location you really need to create them.
>
What other UIDs do I need? UIDs for tracks and attachments are created
in init as is
Wouldn't it be better to set the AVLFG in the MatroskaMuxContext in mkv_init
and keep using it when needed ?
Then you can still update UIDs in the location you really need to create them.
> On April 5, 2020 5:59 PM Andreas Rheinhardt
> wrote:
>
>
> This commit reuses the random seed generat
This commit reuses the random seed generated in mkv_init() (to determine
the TrackUIDs) for the SegmentUID in order to avoid a potentially
expensive call to av_get_random_seed().
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskaenc.c | 19 +--
1 file changed, 9 insertion