diff options
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decode.c b/src/decode.c index 76bb1bede..47bff4504 100644 --- a/src/decode.c +++ b/src/decode.c @@ -510,7 +510,7 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * int nextChunk = -1; int test; int decodeWaitedOn = 0; - char silence[CHUNK_SIZE]; + static const char silence[CHUNK_SIZE]; double sizeToTime = 0.0; int previousMetadataChunk = -1; MetadataChunk currentMetadataChunk; @@ -518,8 +518,6 @@ static void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * int end; int next = -1; - memset(silence, 0, CHUNK_SIZE); - if (waitOnDecode(pc, dc, cb, &decodeWaitedOn) < 0) return; |