Ticket #4749: use_init8.patch

File use_init8.patch, 530 bytes (added by zazdxscf, 11 years ago)

use as init_get_bits8 in one place

  • libavcodec/aacdec_template.c

    old new static int aac_decode_frame(AVCodecConte  
    31223122    if (INT_MAX / 8 <= buf_size)
    31233123        return AVERROR_INVALIDDATA;
    31243124
    3125     if ((err = init_get_bits(&gb, buf, buf_size * 8)) < 0)
     3125    if ((err = init_get_bits8(&gb, buf, buf_size)) < 0)
    31263126        return err;
    31273127
    31283128    switch (ac->oc[1].m4ac.object_type) {