]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/logo.c
Fixed filter_*Blend rgb masks initialization.
[vlc] / modules / video_filter / logo.c
index f8b2b14e56ebd99e5d4c0f12708b212046fa2708..ef7f06723b6f9a310fc60918371c544be2b2d0ee 100644 (file)
@@ -243,7 +243,7 @@ static int OpenCommon( vlc_object_t *p_this, bool b_sub )
     {
 
         p_sys->p_blend = filter_NewBlend( VLC_OBJECT(p_filter),
-                                          p_filter->fmt_in.i_codec );
+                                          &p_filter->fmt_in );
         if( !p_sys->p_blend )
         {
             free( p_sys );