Revision c11c7922 libavcodec/vmdav.c

View differences:

libavcodec/vmdav.c
534 534
        *data_size += vmdaudio_loadsound(s, output_samples, p + 4, 0, buf_size - 20);
535 535
    } else if (buf[6] == 3) {
536 536
        /* silent chunk */
537
        *data_size = vmdaudio_loadsound(s, output_samples, p, 1, 0);
537
        *data_size = vmdaudio_loadsound(s, output_samples, p, 1, s->block_align);
538 538
    }
539 539

  
540 540
    return buf_size;

Also available in: Unified diff