diff options
author | Robert Swain <robert.swain@gmail.com> | 2009-04-21 12:29:36 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-04-21 12:29:36 +0000 |
commit | 7bbd2fb12657cbaf8862f0123ebce6e8c883fe37 (patch) | |
tree | ad2973a927f508b15426dee9c983f91292700f9f | |
parent | 223d996aaf9f1668c28519d3d7eb756e6cdf3fcf (diff) | |
download | ffmpeg-7bbd2fb12657cbaf8862f0123ebce6e8c883fe37.tar.gz |
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
-rw-r--r-- | libavcodec/aac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index 0d2d0efe65..5c3e2aade1 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -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); |