Revision cc8538ff libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
1420 1420
        out_samples += 256 * s->out_channels;
1421 1421
    }
1422 1422
    *data_size = s->num_blocks * 256 * avctx->channels * sizeof (int16_t);
1423
    return s->frame_size;
1423
    return FFMIN(buf_size, s->frame_size);
1424 1424
}
1425 1425

  
1426 1426
/**

Also available in: Unified diff