summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/aacenc/src
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2012-01-12 14:28:30 +0200
committerMartin Storsjo <martin@martin.st>2012-02-24 21:01:26 +0200
commit338b9c9020ca6be98f30670cf307ad8553f1b4c9 (patch)
treec152bdeae79c529f8fdfaf573110f02a9a9ba782 /media/libstagefright/codecs/aacenc/src
parentb86b3c8f976b70635770d93217132d4023ecf33f (diff)
downloadframeworks_av-338b9c9020ca6be98f30670cf307ad8553f1b4c9.zip
frameworks_av-338b9c9020ca6be98f30670cf307ad8553f1b4c9.tar.gz
frameworks_av-338b9c9020ca6be98f30670cf307ad8553f1b4c9.tar.bz2
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
Diffstat (limited to 'media/libstagefright/codecs/aacenc/src')
-rw-r--r--media/libstagefright/codecs/aacenc/src/qc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/aacenc/src/qc_main.c b/media/libstagefright/codecs/aacenc/src/qc_main.c
index df6d46e..48ff300 100644
--- a/media/libstagefright/codecs/aacenc/src/qc_main.c
+++ b/media/libstagefright/codecs/aacenc/src/qc_main.c
@@ -163,7 +163,7 @@ void QCOutDelete(QC_OUT* hQC, VO_MEM_OPERATOR *pMemOP)
Word32 i;
if(hQC)
{
- if(hQC->qcChannel[0].quantSpec);
+ if(hQC->qcChannel[0].quantSpec)
mem_free(pMemOP, hQC->qcChannel[0].quantSpec, VO_INDEX_ENC_AAC);
if(hQC->qcChannel[0].maxValueInSfb)