[FFmpeg-cvslog] r18641 - trunk/libavcodec/aac.c

superdump subversion
Tue Apr 21 14:29:36 CEST 2009


Author: superdump
Date: Tue Apr 21 14:29:36 2009
New Revision: 18641

Log:
Remove redundant assignment. err is assigned in every switch case anyway. Issue
found by CSA.

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Tue Apr 21 14:00:39 2009	(r18640)
+++ trunk/libavcodec/aac.c	Tue Apr 21 14:29:36 2009	(r18641)
@@ -1629,7 +1629,6 @@ static int aac_decode_frame(AVCodecConte
     // 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);



More information about the ffmpeg-cvslog mailing list