[FFmpeg-devel] [PATCH] Retrieve APE tags from Monkey Audio file

Aurelien Jacobs aurel
Sun Sep 16 16:56:34 CEST 2007


On Sun, 16 Sep 2007 16:08:01 +0200
Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

> Hello,
> On Sun, Sep 16, 2007 at 03:45:47PM +0200, Aurelien Jacobs wrote:
> > +#define ARRAY_SIZE(x)  (sizeof(x)/sizeof(*x))
> 
> There is such a define somewhere already.

There are several similar defines all over ffmpeg.
IIRC I already sent a patch some times ago to move all
of them into a single define in lavu but this patch
was refused.

> I personally prefer arrays that are 0-terminated though.

Well, I have no problem with them either.
Updated patch uses a 0-terminated table.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ffmpeg-apetag_3.diff
Type: text/x-diff
Size: 4558 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070916/ba39ca3c/attachment.diff>



More information about the ffmpeg-devel mailing list