freebsd-ports/audio/amarok-kde4/files/patch-amarok_src_metadata_mp4_mp4file.cpp
Michael Landin 17d811e148 - update to version 1.4.8
- fix few portlint warnings

Submitted by:		Pawel Pekala <c0rn@o2.pl>
PR:			ports/120225
2008-02-05 17:44:57 +00:00

21 lines
456 B
C++

--- amarok/src/metadata/mp4/mp4file.cpp.orig Mon Dec 17 16:53:19 2007
+++ amarok/src/metadata/mp4/mp4file.cpp Thu Jan 31 23:14:42 2008
@@ -27,9 +27,8 @@
#include "mp4tag.h"
#include <tfile.h>
-#include <audioproperties.h>
-#include <stdint.h>
+#include <inttypes.h>
#define MP4V2_HAS_WRITE_BUG 1
@@ -157,6 +156,7 @@
#endif
MP4Close(handle);
+ handle=NULL;
mp4file = MP4Read(name());
if(mp4file == MP4_INVALID_FILE_HANDLE)