[FFmpeg-devel] [PATCH 1/2] lavc: add av_get_profile_name() to get profile names

Michael Niedermayer michaelni
Sat Jan 8 01:50:28 CET 2011


On Fri, Jan 07, 2011 at 10:42:52PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> 
> > >  /**
> > > + * Return a name for the specified profile, if available.
> > > + *
> > > + * @param codec the codec that is searched for the given profile
> > > + * @param profile the profile value for which a name is requested
> > > + * @return A name for the profile if found, NULL otherwise.
> > > + */
> > > +const char *av_get_profile_name(AVCodec *codec, int profile);
> >                                    ^^^^^^^^^^^
> > const
> > 
> > otherwise lgtm
> 
> Either I screwed up the commit, or the following (inlined) is necessary before
> 2/2 can be applied:

could be, ive not tested 2/2 needs an update (codec_id->codec) due to
changes in 2/1 if i have not missed something, i forgot mentioning this sorry

[...
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110108/0f099886/attachment.pgp>



More information about the ffmpeg-devel mailing list