Re: [Easytag-mailing] Bugfix, changed signature of MP4GetMetadataCoverArt() in libmp4v2-1.6.1



Hi,

Thanks again for this new patch to enable compilation with the last version of mpeg4ip 1.6.1.
But also, I need a solution to be compatible with the previous version.

There is a way to detect the version of mpeg4ip or libmp4v2 to include some "#if" in the code?

Regards,
Jerome


Johann Franz wrote, the 22/11/2007 07:36 :
Well, if this hasn't been fixed before - patch applies to easytag 2.1 and 2.1.3:

--- src/mp4_tag.c.orig	2007-11-19 19:27:42.000000000 +0100
+++ src/mp4_tag.c
@@ -185,7 +185,7 @@ gboolean Mp4tag_Read_File_Tag (gchar *fi
      * Picture *
      ***********/
     // There is only one picture!
-    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize ) )
+    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize, 0 ) )
     {
         Picture *pic = Picture_Allocate();
         pic->size = coverSize;

--
EasyTAG - Tag editor for MP3 and Ogg Vorbis files
http://easytag.sourceforge.net
--
Jerome COUDERC <easytag gmail com>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]