[FFmpeg-devel] [PATCH] Implement AVPixFmtDescriptor.name
Michael Niedermayer
michaelni
Sun Mar 15 02:04:26 CET 2009
On Sun, Mar 15, 2009 at 12:50:15AM +0100, Stefano Sabatini wrote:
> Hi,
>
> as in subject.
[...]
> Index: ffmpeg/libavcodec/pixdesc.h
> ===================================================================
> --- ffmpeg.orig/libavcodec/pixdesc.h 2009-03-15 00:43:36.000000000 +0100
> +++ ffmpeg/libavcodec/pixdesc.h 2009-03-15 00:43:53.000000000 +0100
> @@ -41,6 +41,7 @@
> * are stored not what these values represent.
> */
> typedef struct AVPixFmtDescriptor{
> + const char *name;
const char name[10];
one pointer less (4-8 byte) and its doesnt need relocations in PICs, thus
is easier to share ...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090315/ba9d43d6/attachment.pgp>
More information about the ffmpeg-devel
mailing list