Mercurial > libavcodec.hg
changeset 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 | 80660c7fcc9c |
children | c443a6af19a7 |
files | vmdav.c |
diffstat | 1 files changed, 4 insertions(+), 7 deletions(-) [+] |
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; } }