Skip to content

Commit

Permalink
dashplayer: Adding extra parameter for utf16_to_utf8
Browse files Browse the repository at this point in the history
Change-Id: I6bbd84b9800cb80f0c8fa36d64c03f7263767a4d
  • Loading branch information
HazouPH committed Dec 22, 2016
1 parent 78a4875 commit 01840cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dashplayer/DashPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,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);
}
Expand Down

0 comments on commit 01840cd

Please sign in to comment.