aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mp4v2/files/patch-src-mp4file_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mp4v2/files/patch-src-mp4file_io.cpp')
-rw-r--r--multimedia/mp4v2/files/patch-src-mp4file_io.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/multimedia/mp4v2/files/patch-src-mp4file_io.cpp b/multimedia/mp4v2/files/patch-src-mp4file_io.cpp
deleted file mode 100644
index 59698e927357..000000000000
--- a/multimedia/mp4v2/files/patch-src-mp4file_io.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/mp4file_io.cpp.orig 2012-05-20 22:11:53 UTC
-+++ src/mp4file_io.cpp
-@@ -387,7 +387,7 @@ char* MP4File::ReadCountedString(uint8_t
- charLength = ReadUInt8();
- }
-
-- if (fixedLength && (charLength > fixedLength)) {
-+ if (fixedLength && (charLength > fixedLength - 1)) {
- /*
- * The counted length of this string is greater than the
- * maxiumum fixed length, so truncate the string to the
-@@ -397,7 +397,7 @@ char* MP4File::ReadCountedString(uint8_t
- * a non counted string has been used in the place of a
- * counted string).
- */
-- WARNING(charLength > fixedLength);
-+ WARNING(charLength > fixedLength - 1);
- charLength = fixedLength - 1U;
- }
-