changeset 30248:cb820f087ce0

100l, fix typo that caused ad_hwac3 to fail to compile.
author reimar
date Tue, 12 Jan 2010 19:03:49 +0000
parents 04639dec4eb8
children d383b93fa3f8
files libmpcodecs/ad_hwac3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_hwac3.c	Tue Jan 12 19:03:09 2010 +0000
+++ b/libmpcodecs/ad_hwac3.c	Tue Jan 12 19:03:49 2010 +0000
@@ -148,7 +148,7 @@
   sh->samplesize = 2;
   sh->sample_format = AF_FORMAT_AC3_BE;
   // HACK for DTS where useless swapping can't easily be removed
-  if (sh_audio->format == 0x2001)
+  if (sh->format == 0x2001)
     sh->sample_format = AF_FORMAT_AC3_NE;
   return 1;
 }