From 5d4ad6d183992471d45bff65400ed8d09209f072 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 11 Feb 2007 11:59:49 +0000 Subject: ext/faad/gstfaad.c: Also update the comment that describes the hack. Original commit message from CVS: * ext/faad/gstfaad.c: Also update the comment that describes the hack. --- ext/faad/gstfaad.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'ext/faad/gstfaad.c') diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 47be4559..120f88ce 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -30,13 +30,17 @@ * with types changed to match glib types, since those are defined for us. * However, upstream FAAD is distributed with a broken header file that defined * these wrongly (in a way which was broken on 64 bit systems). + * * Upstream CVS still has the bug, but has also renamed all the public symbols - * for Better Corporate Branding (or whatever), so we're screwed there. + * for Better Corporate Branding (or whatever), so we need to take that + * (FAAD_IS_NEAAC) into account as well. * * We must call them using these definitions. Most distributions now have the * corrected header file (they distribute a patch along with the source), - * but not all, hence this Truly Evil Hack. This hack will need updating if - * upstream ever releases something with the new API. + * but not all, hence this Truly Evil Hack. + * + * Note: The prototypes don't need to be defined conditionaly, as the cpp will + * do that for us. */ #ifdef FAAD_IS_NEAAC #define NeAACDecInit NeAACDecInit_no_definition -- cgit v1.2.1