# HG changeset patch # User melanson # Date 1096340676 0 # Node ID 4bdd4927d2fc2385c90bb2a2fd40ba21252ad884 # Parent 80660c7fcc9cc36e9f5e6094572b56b33488f298 if audio is PCM, push it through (sync is not perfect yet) diff -r 80660c7fcc9c -r 4bdd4927d2fc vmdav.c --- 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; } }