update to mp4v2-2.0.0

It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile
This commit is contained in:
Seven Du committed 2013-06-04 08:46:05 +08:00
1 parent 96f74a9f4a
commit 947c0542a9
3 files changed
+11 -2

No files matched your search

+3 -1
View File
@@ -17,7 +17,9 @@ Paulo Rogério Panhoto <paulo@voicetechnology.com.br>.
Portions created by the Initial Developer are Copyright (C)
the Initial Developer. All Rights Reserved.
Contributors:
Seven Du <dujinfang@gmail.com>
*/
#include "mp4_helper.hpp"
@@ -38,7 +40,7 @@ namespace MP4
void Context::open(const char * file)
{
fh = MP4Read(file, 0);
fh = MP4Read(file);
if (fh == MP4_INVALID_FILE_HANDLE) throw Exception(file, "Open failed");
getTracks(file);
}