Commit 0b3e3736 authored by superdump's avatar superdump

Remove redundant assignment. err is assigned in every switch case anyway. Issue

found by CSA.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18641 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 97e433db
...@@ -1629,7 +1629,6 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data ...@@ -1629,7 +1629,6 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data
// parse // parse
while ((elem_type = get_bits(&gb, 3)) != TYPE_END) { while ((elem_type = get_bits(&gb, 3)) != TYPE_END) {
elem_id = get_bits(&gb, 4); elem_id = get_bits(&gb, 4);
err = -1;
if(elem_type < TYPE_DSE && !(che=get_che(ac, elem_type, elem_id))) { if(elem_type < TYPE_DSE && !(che=get_che(ac, elem_type, elem_id))) {
av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id); av_log(ac->avccontext, AV_LOG_ERROR, "channel element %d.%d is not allocated\n", elem_type, elem_id);
......
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