[MPlayer-cvslog] r35536 - trunk/libmpcodecs/ad_spdif.c
reimar
subversion at mplayerhq.hu
Fri Nov 30 21:08:29 CET 2012
Author: reimar
Date: Fri Nov 30 21:08:29 2012
New Revision: 35536
Log:
ad_spdif: use the more specific AF_FORMAT_AC3_LE when
we handle AC3.
Modified:
trunk/libmpcodecs/ad_spdif.c
Modified: trunk/libmpcodecs/ad_spdif.c
==============================================================================
--- trunk/libmpcodecs/ad_spdif.c Fri Nov 30 20:30:07 2012 (r35535)
+++ trunk/libmpcodecs/ad_spdif.c Fri Nov 30 21:08:29 2012 (r35536)
@@ -169,7 +169,7 @@ static int init(sh_audio_t *sh)
break;
case CODEC_ID_AC3:
spdif_ctx->iec61937_packet_size = 6144;
- sh->sample_format = AF_FORMAT_IEC61937_LE;
+ sh->sample_format = AF_FORMAT_AC3_LE;
sh->samplerate = srate;
sh->channels = 2;
sh->i_bps = bps;
More information about the MPlayer-cvslog
mailing list