Commit 6d8e6fe9 authored by Michael Niedermayer's avatar Michael Niedermayer

CODEC_ID_SOL_DPCM: Fix used write buffer.

Bug found by: Oana Stratulat
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4af0262f
......@@ -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 = output_samples;
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