Ticket #19141: easytag-mp4v2.patch

File easytag-mp4v2.patch, 887 bytes (added by 0xced (Cédric Luthi), 15 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/****************
     
    185185     * Picture *
    186186     ***********/
    187187    // There is only one picture!
    188     if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize ) )
     188    if ( MP4GetMetadataCoverArt( mp4file, &coverArt, &coverSize, 0 ) )
    189189    {
    190190        Picture *pic = Picture_Allocate();
    191191        pic->size = coverSize;