|
|
@@ -2007,10 +2007,11 @@ static int aac_decode_frame(AVCodecContext *avctx, void *data, |
|
|
|
elem_id = get_bits(&gb, 4); |
|
|
|
|
|
|
|
if (elem_type < TYPE_DSE) { |
|
|
|
if (!(che=get_che(ac, elem_type, elem_id))) { |
|
|
|
av_log(ac->avctx, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id); |
|
|
|
return -1; |
|
|
|
} |
|
|
|
if (!(che=get_che(ac, elem_type, elem_id))) { |
|
|
|
av_log(ac->avctx, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", |
|
|
|
elem_type, elem_id); |
|
|
|
return -1; |
|
|
|
} |
|
|
|
samples = 1024; |
|
|
|
} |
|
|
|
|
|
|
|