Revision f9cac0a7 libavcodec/mace.c

View differences:

libavcodec/mace.c
409 409
    samples = (short *)data;
410 410
    switch (avctx->codec->id) {
411 411
    case CODEC_ID_MACE3:
412
#ifdef DEBUG
413
puts("mace_decode_frame[3]()");
414
#endif
412
        dprintf(avctx, "mace_decode_frame[3]()");
415 413
        Exp1to3(c, buf, samples, buf_size / 2 / avctx->channels, avctx->channels, 1);
416 414
        if (avctx->channels == 2)
417 415
            Exp1to3(c, buf, samples+1, buf_size / 2 / 2, 2, 2);
418 416
        *data_size = 2 * 3 * buf_size;
419 417
        break;
420 418
    case CODEC_ID_MACE6:
421
#ifdef DEBUG
422
puts("mace_decode_frame[6]()");
423
#endif
419
        dprintf(avctx, "mace_decode_frame[6]()");
424 420
        Exp1to6(c, buf, samples, buf_size / avctx->channels, avctx->channels, 1);
425 421
        if (avctx->channels == 2)
426 422
            Exp1to6(c, buf, samples+1, buf_size / 2, 2, 2);

Also available in: Unified diff