Ticket #18985: easytag-devel-mp4v2.patch

File easytag-devel-mp4v2.patch, 927 bytes (added by ozaktash@…, 14 years ago)
  • src/mp4_header.c

     
    4444#undef PACKAGE_STRING
    4545#undef PACKAGE_TARNAME
    4646#undef PACKAGE_VERSION
    47 #include <mp4.h>
     47#include <mp4v2/mp4v2.h>
    4848
    4949
    5050/****************
  • src/mp4_tag.c

    diff -ru src/mp4_tag.c src/mp4_tag.c
     
    5050#undef PACKAGE_STRING
    5151#undef PACKAGE_TARNAME
    5252#undef PACKAGE_VERSION
    53 #include <mp4.h>
     53#include <mp4v2/mp4v2.h>
    5454
    5555
    5656/****************
     
    193193    for (pic_num = 0; (MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize,pic_num )); pic_num++)
    194194#else
    195195    // There version handle only one picture!
    196     if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize ) )
     196    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize, 0 ) )
    197197#endif
    198198    {
    199199        Picture *pic;