diff --git a/libavcodec/aac.c b/libavcodec/aac.c index b950ec9b56..0d2d0efe65 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -1616,7 +1616,7 @@ static int aac_decode_frame(AVCodecContext * avccontext, void * data, int * data init_get_bits(&gb, buf, buf_size*8); if (show_bits(&gb, 12) == 0xfff) { - if ((err = parse_adts_frame_header(ac, &gb)) < 0) { + if (parse_adts_frame_header(ac, &gb) < 0) { av_log(avccontext, AV_LOG_ERROR, "Error decoding AAC frame header.\n"); return -1; }