Changeset 6d8e6fe in ffmpeg


Ignore:
Timestamp:
Dec 16, 2011, 7:34:34 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
552ec4c
Parents:
4af0262f
Message:

CODEC_ID_SOL_DPCM: Fix used write buffer.
Bug found by: Oana Stratulat

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/dpcm.c

    r4af0262f r6d8e6fe  
    289289    case CODEC_ID_SOL_DPCM:
    290290        if (avctx->codec_tag != 3) {
    291             uint8_t *output_samples_u8 = data;
     291            uint8_t *output_samples_u8 = output_samples;
    292292            while (buf < buf_end) {
    293293                uint8_t n = *buf++;
Note: See TracChangeset for help on using the changeset viewer.