diff options
| author | Scott Mertz <scott@cyngn.com> | 2016-08-03 17:59:59 -0700 |
|---|---|---|
| committer | Matt Mower <mowerm@gmail.com> | 2016-11-13 10:50:10 -0600 |
| commit | 56a3bab85ed60eec4680cca668346853aeceb9ec (patch) | |
| tree | 6040449f460c29c78d8936d30748408f55addb83 | |
| parent | 4ce4595c9bf29b11eb89ef259666e9297923da9e (diff) | |
| download | android_hardware_qcom_media-cm-12.1-caf-8960.tar.gz android_hardware_qcom_media-cm-12.1-caf-8960.tar.bz2 android_hardware_qcom_media-cm-12.1-caf-8960.zip | |
Add dest length parameter to utf16_to_utf8cm-12.1-caf-8960
CYNGNOS-3235
Change-Id: Id777c8d087038cd98524786245d33d3ca7733ad4
| -rw-r--r-- | dashplayer/DashPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dashplayer/DashPlayer.cpp b/dashplayer/DashPlayer.cpp index f03e938f..b69a81c4 100644 --- a/dashplayer/DashPlayer.cpp +++ b/dashplayer/DashPlayer.cpp @@ -1603,7 +1603,7 @@ status_t DashPlayer::setParameter(int key, const Parcel &request) return NO_MEMORY; } - utf16_to_utf8(str, len, (char*) data); + utf16_to_utf8(str, len, (char*) data, len + 1); err = mSource->setParameter(key, data, len); free(data); } |
