summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/wma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c
index b5dfa4c..8f8b91b 100644
--- a/apps/codecs/wma.c
+++ b/apps/codecs/wma.c
@@ -288,6 +288,9 @@ static int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlen
payload_datalen = length - bytesread - padding_length;
}
+ if (replicated_length==1)
+ datap++;
+
if (stream_id == wfx->audiostream)
{
if (*audiobuf == NULL) {