3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/mp4v2/fix-build-clang.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
330 B
Diff
Raw Normal View History

2021-01-06 04:02:46 +00:00
diff --git a/src/mp4.cpp b/src/mp4.cpp
index c2a7238..9bb3e38 100644
--- a/src/mp4.cpp
+++ b/src/mp4.cpp
@@ -870,7 +870,7 @@ MP4FileHandle MP4ReadProvider( const char* fileName, const MP4FileProvider* file
}
catch (...) {
- return MP4_INVALID_TRACK_ID;
+ return NULL;
}
}