# HG changeset patch # User bcoudurier # Date 1143216060 0 # Node ID 480c84af0f61b60b00c3ece2b6d7dfa9d8c29732 # Parent 1aabcccb2efa57787a71f5a8efc16383f3d79bd0 need to dissociate pcm 16bit and 8bit cases diff -r 1aabcccb2efa -r 480c84af0f61 mov.c --- a/mov.c Fri Mar 24 15:47:44 2006 +0000 +++ b/mov.c Fri Mar 24 16:01:00 2006 +0000 @@ -1077,7 +1077,8 @@ case CODEC_ID_PCM_S16BE: if (st->codec->bits_per_sample == 8) st->codec->codec_id = CODEC_ID_PCM_S8; - /* fall */ + st->codec->bit_rate = st->codec->sample_rate * 8; + break; case CODEC_ID_PCM_U8: if (st->codec->bits_per_sample == 16) st->codec->codec_id = CODEC_ID_PCM_S16BE;