diff --git a/src/input/decoder.c b/src/input/decoder.c index fda7c47a522b51f21fed03db45bfa3c5c379ce1f..15428581e211fbef08f74ec2c5476635743b3228 100644 --- a/src/input/decoder.c +++ b/src/input/decoder.c @@ -761,7 +761,9 @@ static void *DecoderThread( vlc_object_t *p_this ) block_Release( p_block ); } else if( DecoderProcess( p_dec, p_block ) != VLC_SUCCESS ) + { break; + } } } diff --git a/src/input/var.c b/src/input/var.c index 089d415696db0ac16477de7d1d5b5bed8e1d6ee2..3c67a03bedb218acfdfa26a141d635b919a92a22 100644 --- a/src/input/var.c +++ b/src/input/var.c @@ -818,6 +818,7 @@ static int FrameNextCallback( vlc_object_t *p_this, char const *psz_cmd, { input_thread_t *p_input = (input_thread_t*)p_this; VLC_UNUSED(psz_cmd); VLC_UNUSED(oldval); VLC_UNUSED(p_data); + VLC_UNUSED(newval); input_ControlPush( p_input, INPUT_CONTROL_SET_FRAME_NEXT, NULL );