Commit 529a25d6 authored by Laurentiu Ion's avatar Laurentiu Ion Committed by Ronald S. Bultje

dpcm: Fix invalid writes

Fixes bug: #152
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 12e984ae
......@@ -288,7 +288,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void *data,
}
case CODEC_ID_SOL_DPCM:
if (avctx->codec_tag != 3) {
uint8_t *output_samples_u8 = data;
uint8_t *output_samples_u8 = s->frame.data[0];
while (buf < buf_end) {
uint8_t n = *buf++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment