Skip to content

Commit a9e1747

Browse files
committed
stagefright aacenc: Remove a stray semicolon
This avoids warnings about an empty body in an if statement. mem_free does the same null check, so the accidental extra semicolon was harmless, and the whole if statement actually is needless. But if removing the if statements, all the other ones should be removed too, for consistency. (This could be done as a separate change). Change-Id: I1b6064dedd15ffa949043bb5396148aaed9b43f6
1 parent 6a300a5 commit a9e1747

File tree

1 file changed

+1
-1
lines changed
  • media/libstagefright/codecs/aacenc/src

1 file changed

+1
-1
lines changed

media/libstagefright/codecs/aacenc/src/qc_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void QCOutDelete(QC_OUT* hQC, VO_MEM_OPERATOR *pMemOP)
163163
Word32 i;
164164
if(hQC)
165165
{
166-
if(hQC->qcChannel[0].quantSpec);
166+
if(hQC->qcChannel[0].quantSpec)
167167
mem_free(pMemOP, hQC->qcChannel[0].quantSpec, VO_INDEX_ENC_AAC);
168168

169169
if(hQC->qcChannel[0].maxValueInSfb)

0 commit comments

Comments
 (0)