Commit 1d3af6af authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

es_out: fix fall through warnings

parent 8374d4b2
...@@ -737,9 +737,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args ) ...@@ -737,9 +737,6 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args )
return es_out_ControlModifyPcrSystem( p_sys->p_out, b_absolute, i_system ); return es_out_ControlModifyPcrSystem( p_sys->p_out, b_absolute, i_system );
} }
default:
msg_Err( p_sys->p_input, "Unknown es_out_Control query !" );
// ft
/* Invalid queries for this es_out level */ /* Invalid queries for this es_out level */
case ES_OUT_SET_ES_BY_ID: case ES_OUT_SET_ES_BY_ID:
case ES_OUT_RESTART_ES_BY_ID: case ES_OUT_RESTART_ES_BY_ID:
...@@ -747,6 +744,7 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args ) ...@@ -747,6 +744,7 @@ static int ControlLocked( es_out_t *p_out, int i_query, va_list args )
case ES_OUT_GET_ES_OBJECTS_BY_ID: case ES_OUT_GET_ES_OBJECTS_BY_ID:
case ES_OUT_SET_DELAY: case ES_OUT_SET_DELAY:
case ES_OUT_SET_RECORD_STATE: case ES_OUT_SET_RECORD_STATE:
default:
vlc_assert_unreachable(); vlc_assert_unreachable();
return VLC_EGENERIC; return VLC_EGENERIC;
} }
...@@ -1634,8 +1632,6 @@ static void CmdCleanControl( ts_cmd_t *p_cmd ) ...@@ -1634,8 +1632,6 @@ static void CmdCleanControl( ts_cmd_t *p_cmd )
es_format_Clean( p_cmd->u.control.u.es_fmt.p_fmt ); es_format_Clean( p_cmd->u.control.u.es_fmt.p_fmt );
free( p_cmd->u.control.u.es_fmt.p_fmt ); free( p_cmd->u.control.u.es_fmt.p_fmt );
} }
// ft
default:
break; break;
} }
} }
......
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