diff --git a/src/input/es_out.c b/src/input/es_out.c
index 6a76dead3fa4fb4350e0516c551e787606977128..d68999096f73b5544418a619a82c4f6d270f3e4a 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -3734,7 +3734,7 @@ static void EsOutDeleteInfoEs( es_out_t *out, es_out_id_t *es )
     }
 }
 
-static inline es_out_id_t *vlc_es_id_get_out(vlc_es_id_t *id)
+es_out_id_t *vlc_es_id_get_out(vlc_es_id_t *id)
 {
     return container_of(id, es_out_id_t, id);
 }
diff --git a/src/input/es_out.h b/src/input/es_out.h
index 36aeae820f0731d3e8fa62f759c6fd4fca64dfb5..4e885b4fad2f99bcdbf1adb14d1174c68e19d62c 100644
--- a/src/input/es_out.h
+++ b/src/input/es_out.h
@@ -169,4 +169,6 @@ static inline void es_out_Eos( es_out_t *p_out )
 es_out_t  *input_EsOutNew( input_thread_t *, float rate );
 es_out_t  *input_EsOutTimeshiftNew( input_thread_t *, es_out_t *, float i_rate );
 
+es_out_id_t *vlc_es_id_get_out(vlc_es_id_t *id);
+
 #endif