Commit a58cd143 authored by superdump's avatar superdump

Give an error message when returning due to an unallocated channel element

Patch by Alex Converse ( alex converse gmail com )


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17181 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5f41c648
......@@ -1576,7 +1576,10 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data
}
if(elem_type < TYPE_DSE) {
if(!ac->che[elem_type][elem_id])
{
av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);
return -1;
}
}
switch (elem_type) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment