[Swfdec] Patches to Fix Warnings

Jeffrey C. Ollie jeff at ocjtech.us
Fri Mar 23 21:59:38 PDT 2007


After discussing my patches[1] a bit with Benjamin Otte on IRC, I've
updated my patches to use the GLib G_GNUC_UNUSED macro rather than my
custom one.  I've also made similar changes to swfdec-mozilla[2].

One small difficulty that remains with the patches is with the
swfdec_marshal.c code.  Since this code is generated by glib-genmarshal
you'll have to manually patch the generated code if you are building
with -Wall & -Werror.  The problem has been reported upstream[3] but no
fixes have made it into the code.

I've updated ffmpeg patch related to avcodec_audio_decode &
avcodec_audio_decode2.  The code should now detect the availability of 
avcodec_audio_decode2 and use in in preference to avcodec_audio_decode
but will fall back to the older function if necessary.

[1] http://git.ocjtech.us/?p=swfdec;a=summary
[2] http://git.ocjtech.us/?p=swfdec-mozilla;a=summary
[3] http://bugzilla.gnome.org/show_bug.cgi?id=357510


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20070323/9a261cf0/attachment.pgp


More information about the Swfdec mailing list