changeset 3111:6f505b24ed57 libavformat

set block align for mace3/6
author bcoudurier
date Wed, 05 Mar 2008 12:06:57 +0000
parents 3dade22abed6
children 88e032ac11e7
files aiff.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/aiff.c	Wed Mar 05 12:02:32 2008 +0000
+++ b/aiff.c	Wed Mar 05 12:06:57 2008 +0000
@@ -131,7 +131,11 @@
             codec->frame_size = 64;
             break;
         case CODEC_ID_MACE3:
+            codec->block_align = 2*codec->channels;
+            codec->frame_size = 6;
+            break;
         case CODEC_ID_MACE6:
+            codec->block_align = 1*codec->channels;
             codec->frame_size = 6;
             break;
         default: