From 981f85eb6b7b6df8d0fec914ee4563488e2fba23 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 30 Dec 2007 17:48:26 +0000 Subject: [PATCH] dtstospdif.c: Fix spdif type on big endian stream. (Patch by Julien Robert). --- modules/audio_filter/converter/dtstospdif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_filter/converter/dtstospdif.c b/modules/audio_filter/converter/dtstospdif.c index 81c35d7c63..ee264cb386 100644 --- a/modules/audio_filter/converter/dtstospdif.c +++ b/modules/audio_filter/converter/dtstospdif.c @@ -171,7 +171,7 @@ static void DoWork( aout_instance_t * p_aout, aout_filter_t * p_filter, if( p_filter->output.i_format == VLC_FOURCC('s','p','d','b') ) { p_filter->p_libvlc->pf_memcpy( p_out, p_sync_be, 6 ); - p_out[4] = i_ac5_spdif_type; + p_out[5] = i_ac5_spdif_type; p_out[6] = (( i_length ) >> 5 ) & 0xFF; p_out[7] = ( i_length << 3 ) & 0xFF; } -- 2.39.2