Mercurial > libavcodec.hg
diff vmdav.c @ 2274:4bdd4927d2fc libavcodec
if audio is PCM, push it through (sync is not perfect yet)
author | melanson |
---|---|
date | Tue, 28 Sep 2004 03:04:36 +0000 |
parents | 141a9539e270 |
children | 9ff4c2733422 |
line wrap: on
line diff
--- a/vmdav.c Mon Sep 27 21:09:41 2004 +0000 +++ b/vmdav.c Tue Sep 28 03:04:36 2004 +0000 @@ -494,13 +494,10 @@ bytes_decoded = s->block_align * 2; } } else { - if (s->bits == 16) { - } else { - /* copy the data but convert it to signed */ - for (i = 0; i < s->block_align; i++) - data[i * 2 + 1] = buf[i] + 0x80; - bytes_decoded = s->block_align * 2; - } + /* copy the data but convert it to signed */ + for (i = 0; i < s->block_align; i++) + data[i * 2 + 1] = buf[i] + 0x80; + bytes_decoded = s->block_align * 2; } }