Mercurial > libavformat.hg
diff mxfenc.c @ 6036:201152a121b5 libavformat
Make ff_random_get_seed public, rename to av_get_random_seed, export the header
Keep an old ff_ named function for binary compatibility until the
next major bump.
author | mstorsjo |
---|---|
date | Sun, 23 May 2010 08:53:40 +0000 |
parents | 536e5527c1e0 |
children | 23e04fb7656e |
line wrap: on
line diff
--- a/mxfenc.c Sat May 22 21:52:06 2010 +0000 +++ b/mxfenc.c Sun May 23 08:53:40 2010 +0000 @@ -1389,7 +1389,7 @@ static void mxf_gen_umid(AVFormatContext *s) { MXFContext *mxf = s->priv_data; - uint32_t seed = ff_random_get_seed(); + uint32_t seed = av_get_random_seed(); uint64_t umid = seed + 0x5294713400000000LL; AV_WB64(mxf->umid , umid);