diff options
author | wm4 <wm4@nowhere> | 2015-06-24 14:02:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-06-24 14:02:40 +0200 |
commit | ae2873f72e90c948da1ed32af3e30e0cd6cef409 (patch) | |
tree | fc17031ce07696210bd293b733101c6dc3749c36 /TOOLS/lib/Parse/Matroska | |
parent | 47919bdfc974ed6f8608d2a5d5ce6daa2b78a6a0 (diff) | |
download | mpv-ae2873f72e90c948da1ed32af3e30e0cd6cef409.tar.bz2 mpv-ae2873f72e90c948da1ed32af3e30e0cd6cef409.tar.xz |
demux_mkv: don't use byte strings
Use char* for strings instead of bstr (data ptr + length pair). Matroska
actually (probably) allows "padding" strings with \0 bytes, so using
normal C strings instead of byte strings is more appropriate.
Diffstat (limited to 'TOOLS/lib/Parse/Matroska')
-rw-r--r-- | TOOLS/lib/Parse/Matroska/Definitions.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lib/Parse/Matroska/Definitions.pm b/TOOLS/lib/Parse/Matroska/Definitions.pm index adb13d0630..a73c7b1fc6 100644 --- a/TOOLS/lib/Parse/Matroska/Definitions.pm +++ b/TOOLS/lib/Parse/Matroska/Definitions.pm @@ -84,7 +84,7 @@ sub elem_by_hexid { # used by elem when setting the 'valname' key use constant TYPE_MAP => { uint => 'uint64_t', - str => 'struct bstr', + str => 'char *', binary => 'struct bstr', ebml_id => 'uint32_t', float => 'double', |