Browse Source

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

found by CSA.

Originally committed as revision 18641 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Robert Swain 17 years ago
parent
commit
7bbd2fb126
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavcodec/aac.c

+ 0
- 1
libavcodec/aac.c View File

@@ -1629,7 +1629,6 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data
// parse
while ((elem_type = get_bits(&gb, 3)) != TYPE_END) {
elem_id = get_bits(&gb, 4);
err = -1;

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);


Loading…
Cancel
Save