summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-21 00:18:30 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-03-21 00:18:30 +0000
commit21c5aca65a1785dcad05e1946763786714d6656b (patch)
treedfaeff811a4c49c42fc5efaa43c8510a7cef2fb2
parentd59518d45d0bfd8c85b8f94ccc9c6ea72825ef34 (diff)
downloadffmpeg-streaming-21c5aca65a1785dcad05e1946763786714d6656b.zip
ffmpeg-streaming-21c5aca65a1785dcad05e1946763786714d6656b.tar.gz
free ftyp atom
Originally committed as revision 5187 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--qt-faststart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-faststart.c b/qt-faststart.c
index 535dde3..2fc5a16 100644
--- a/qt-faststart.c
+++ b/qt-faststart.c
@@ -288,6 +288,8 @@ int main(int argc, char *argv[])
fclose(infile);
fclose(outfile);
free(moov_atom);
+ if (ftyp_atom_size > 0)
+ free(ftyp_atom);
return 0;
@@ -295,5 +297,7 @@ error_out:
fclose(infile);
fclose(outfile);
free(moov_atom);
+ if (ftyp_atom_size > 0)
+ free(ftyp_atom);
return 1;
}
OpenPOWER on IntegriCloud