[vlc-commits] [Git][videolan/vlc][master] i420_rgb: remove unused parameter

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Oct 21 11:55:08 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
288ed93a by Steve Lhomme at 2023-10-21T11:28:24+00:00
i420_rgb: remove unused parameter

It's unused since a8893dd50d0c8f00f4bfe3fd923d58f1f5803d81.

- - - - -


1 changed file:

- modules/video_chroma/i420_rgb.c


Changes:

=====================================
modules/video_chroma/i420_rgb.c
=====================================
@@ -40,7 +40,7 @@
 #ifdef PLUGIN_PLAIN
 # include "i420_rgb_c.h"
 
-static void SetYUV( filter_t *, const video_format_t * );
+static void SetYUV( filter_t * );
 static void Set8bppPalette( filter_t *, uint8_t * );
 #endif
 
@@ -214,10 +214,7 @@ static int Activate( filter_t *p_filter )
         return -1;
     }
 
-    video_format_t vfmt;
-    video_format_Copy( &vfmt, &p_filter->fmt_out.video );
-    SetYUV( p_filter, &vfmt );
-    video_format_Clean( &vfmt );
+    SetYUV( p_filter );
 #endif
 
     return 0;
@@ -244,7 +241,7 @@ static void Deactivate( filter_t *p_filter )
 /*****************************************************************************
  * SetYUV: compute tables and set function pointers
  *****************************************************************************/
-static void SetYUV( filter_t *p_filter, const video_format_t *vfmt )
+static void SetYUV( filter_t *p_filter )
 {
     filter_sys_t *p_sys = p_filter->p_sys;
     unsigned i_lrshift, i_lgshift, i_lbshift;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/288ed93a53a2ef05d908da2d025d678f98e36279

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/288ed93a53a2ef05d908da2d025d678f98e36279
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list