changeset 35442:2b45dfcde03c

ad_spdif: use the more specific AF_FORMAT_AC3_LE when we handle AC3.
author reimar
date Fri, 30 Nov 2012 20:08:29 +0000
parents 6dc94af7016d
children f045a1d92c06
files libmpcodecs/ad_spdif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_spdif.c	Fri Nov 30 19:30:07 2012 +0000
+++ b/libmpcodecs/ad_spdif.c	Fri Nov 30 20:08:29 2012 +0000
@@ -169,7 +169,7 @@
         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;