X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fac3_spdif%2Fac3_spdif.c;fp=plugins%2Fac3_spdif%2Fac3_spdif.c;h=79791b562c1159c74eb72af3d5c5f5f655481ad0;hb=64d33dc9bce423db858b4d628248021d00abd404;hp=be0e1f1edea55aae355036f481be3fc7661543ed;hpb=97bf3e7d5016e204ba2858094baa60fe02465316;p=vlc diff --git a/plugins/ac3_spdif/ac3_spdif.c b/plugins/ac3_spdif/ac3_spdif.c index be0e1f1ede..79791b562c 100644 --- a/plugins/ac3_spdif/ac3_spdif.c +++ b/plugins/ac3_spdif/ac3_spdif.c @@ -2,7 +2,7 @@ * ac3_spdif.c: ac3 pass-through to external decoder with enabled soundcard ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: ac3_spdif.c,v 1.30 2002/06/05 18:15:46 stef Exp $ + * $Id: ac3_spdif.c,v 1.31 2002/07/23 00:39:16 sam Exp $ * * Authors: Stéphane Borel * Juha Yrjola @@ -44,7 +44,7 @@ /**************************************************************************** * Local Prototypes ****************************************************************************/ -static int decoder_Probe ( u8 * ); +static int decoder_Probe ( vlc_fourcc_t * ); static int decoder_Run ( decoder_fifo_t * ); static int InitThread ( ac3_spdif_thread_t * ); static void EndThread ( ac3_spdif_thread_t * ); @@ -132,9 +132,9 @@ MODULE_DEACTIVATE_STOP * Tries to launch a decoder and return score so that the interface is able * to chose. *****************************************************************************/ -static int decoder_Probe( u8 *pi_type ) +static int decoder_Probe( vlc_fourcc_t *pi_type ) { - return( *pi_type == AC3_AUDIO_ES ) ? 0 : -1; + return( *pi_type == VLC_FOURCC('a','5','2',' ') ) ? 0 : -1; }