Commit 7334947d authored by Mickaël Turnel's avatar Mickaël Turnel

Fix local player potential stack overflow causing crash on Android

parent 648f2fc6
......@@ -249,7 +249,7 @@ int ms_media_player_get_duration(MSMediaPlayer *obj) {
}
int ms_media_player_get_current_position(MSMediaPlayer *obj) {
int position;
int64_t position;
if(!obj->is_open) {
ms_error("Could not get position. No file is open");
return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment