]> git.sesse.net Git - vlc/commitdiff
Use VLC_OBJECT's to pass to msg_* functions otherwise all hell breaks lose.
authorJean-Paul Saman <jpsaman@videolan.org>
Thu, 10 Mar 2005 21:09:14 +0000 (21:09 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Thu, 10 Mar 2005 21:09:14 +0000 (21:09 +0000)
modules/audio_filter/converter/a52tofloat32.c

index 00f37a1a644e82a51c0a9836780d62b67eacbd21..ea5f0be7df9d859fc10d34ebf3c1189fd0b3f227 100644 (file)
@@ -330,7 +330,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
     if ( (i_flags & A52_CHANNEL_MASK) != (p_sys->i_flags & A52_CHANNEL_MASK)
           && !p_sys->b_dontwarn )
     {
-        msg_Warn( p_filter,
+        msg_Warn( VLC_OBJECT(p_aout),
                   "liba52 couldn't do the requested downmix 0x%x->0x%x",
                   p_sys->i_flags  & A52_CHANNEL_MASK,
                   i_flags & A52_CHANNEL_MASK );
@@ -349,7 +349,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter,
 
         if( a52_block( p_sys->p_liba52 ) )
         {
-            msg_Warn( p_filter, "a52_block failed for block %d", i );
+            msg_Warn( VLC_OBJECT(p_aout), "a52_block failed for block %d", i );
         }
 
         p_samples = a52_samples( p_sys->p_liba52 );