[FFmpeg-devel] [PATCH] Rename ff_random_get_seed to av_*, export the header

Martin Storsjö martin
Sun May 23 10:54:19 CEST 2010


On Sat, 22 May 2010, Michael Niedermayer wrote:

> On Sat, May 22, 2010 at 05:49:13PM +0300, Martin Storsj? wrote:
> > On Tue, 18 May 2010, Michael Niedermayer wrote:
> > 
> > > On Tue, May 18, 2010 at 10:26:06AM +0300, Martin Storsj? wrote:
> > > > 
> > > > Any opinions on the name as Stefano pointed out? That is, 
> > > > av_random_get_seed() or av_get_random_seed(), which one do you prefer?
> > > 
> > > no strong oppinion here
> > 
> > Ok, since noone has had any other opinion on the naming than Stefano, 
> > here's an updated patch with the naming Stefano suggested.
> > 
> > // Martin
> >  ffserver.c               |    2 +-
> >  libavfilter/parseutils.c |    2 +-
> >  libavformat/httpauth.c   |    2 +-
> >  libavformat/mxfenc.c     |    2 +-
> >  libavformat/rtpenc.c     |    4 ++--
> >  libavutil/Makefile       |    1 +
> >  libavutil/random_seed.c  |   11 ++++++++++-
> >  libavutil/random_seed.h  |    2 +-
> >  8 files changed, 18 insertions(+), 8 deletions(-)
> > 1c375541f997f93c3a39fd92acb1b225b446396a  0001-Make-ff_random_get_seed-public-rename-to-av_get_rand.patch
> > From 0a182be17f67d9de65161be41b560310f7521edd Mon Sep 17 00:00:00 2001
> > From: Martin Storsjo <martin at martin.st>
> > Date: Fri, 14 May 2010 09:48:23 +0300
> > Subject: [PATCH] Make ff_random_get_seed public, rename to av_get_random_seed, export the header
> 
> looks ok

Applied, thanks!

// Martin



More information about the ffmpeg-devel mailing list