changeset 3891:fbe8704f513a libavformat

set block align and frame size for gsm in aiff
author bcoudurier
date Thu, 04 Sep 2008 22:35:05 +0000
parents 76e7b6822fa6
children 8f1928b41f45
files aiff.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/aiff.c	Thu Sep 04 18:26:31 2008 +0000
+++ b/aiff.c	Thu Sep 04 22:35:05 2008 +0000
@@ -141,6 +141,10 @@
             codec->block_align = 1*codec->channels;
             codec->frame_size = 6;
             break;
+        case CODEC_ID_GSM:
+            codec->block_align = 33;
+            codec->frame_size = 160;
+            break;
         default:
             break;
         }