[vlc-commits] transcode: video: remove unused function

Alexandre Janniaux git at videolan.org
Thu Feb 13 12:03:37 CET 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Jan 30 13:25:51 2020 +0100| [16d799dad7c1a157c3a12afd16cf4cc4b592d103] | committer: Jean-Baptiste Kempf

transcode: video: remove unused function

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=16d799dad7c1a157c3a12afd16cf4cc4b592d103
---

 modules/stream_out/transcode/video.c | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index 592aaf54e9..a5ec642175 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -40,26 +40,6 @@
 
 #include <math.h>
 
-static const video_format_t* filtered_video_format( sout_stream_id_sys_t *id,
-                                                  picture_t *p_pic )
-{
-    assert( id && p_pic );
-    const filter_chain_t * chains[] =
-    {
-        id->p_final_conv_static,
-        id->p_uf_chain,
-        id->p_conv_static,
-        id->p_conv_nonstatic,
-        id->p_f_chain,
-    };
-    for( size_t i=0; i<ARRAY_SIZE(chains); i++ )
-    {
-        if( chains[i] )
-            return &filter_chain_GetFmtOut( chains[i] )->video;
-    }
-    return &p_pic->format;
-}
-
 struct encoder_owner
 {
     encoder_t enc;



More information about the vlc-commits mailing list