Ticket #4749: use_init8.patch
| File use_init8.patch, 530 bytes (added by , 11 years ago) |
|---|
-
libavcodec/aacdec_template.c
old new static int aac_decode_frame(AVCodecConte 3122 3122 if (INT_MAX / 8 <= buf_size) 3123 3123 return AVERROR_INVALIDDATA; 3124 3124 3125 if ((err = init_get_bits (&gb, buf, buf_size * 8)) < 0)3125 if ((err = init_get_bits8(&gb, buf, buf_size)) < 0) 3126 3126 return err; 3127 3127 3128 3128 switch (ac->oc[1].m4ac.object_type) {
