[vlc-commits] input: fix changing ES on big-endian (fixes #6163)
Rémi Denis-Courmont
git at videolan.org
Sat May 4 16:27:45 CEST 2013
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 4 17:20:58 2013 +0300| [803e907be4c176a0fafe5f595c7eecc354d4fcc4] | committer: Rémi Denis-Courmont
input: fix changing ES on big-endian (fixes #6163)
int64_t != int
(cherry picked from commit ecf6d12f439132e4ffde0b70387a2da31b8a9d42)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=803e907be4c176a0fafe5f595c7eecc354d4fcc4
---
src/input/input.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index f649bd8..82b0c45 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1902,11 +1902,13 @@ static bool Control( input_thread_t *p_input,
case INPUT_CONTROL_SET_ES:
/* No need to force update, es_out does it if needed */
- es_out_Control( p_input->p->p_es_out_display, ES_OUT_SET_ES_BY_ID, val.i_int );
+ es_out_Control( p_input->p->p_es_out_display,
+ ES_OUT_SET_ES_BY_ID, (int)val.i_int );
break;
case INPUT_CONTROL_RESTART_ES:
- es_out_Control( p_input->p->p_es_out_display, ES_OUT_RESTART_ES_BY_ID, val.i_int );
+ es_out_Control( p_input->p->p_es_out_display,
+ ES_OUT_RESTART_ES_BY_ID, (int)val.i_int );
break;
case INPUT_CONTROL_SET_AUDIO_DELAY:
More information about the vlc-commits
mailing list