diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-03-21 00:18:30 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-03-21 00:18:30 +0000 |
commit | 21c5aca65a1785dcad05e1946763786714d6656b (patch) | |
tree | dfaeff811a4c49c42fc5efaa43c8510a7cef2fb2 | |
parent | d59518d45d0bfd8c85b8f94ccc9c6ea72825ef34 (diff) | |
download | ffmpeg-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.c | 4 |
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; } |