diff options
author | Martin Storsjö <martin@martin.st> | 2010-05-01 21:02:23 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-05-01 21:02:23 +0000 |
commit | d50fc2d07b7bd5ebbc8f8636c1c3245ab3503bb5 (patch) | |
tree | d3ebf76ad681311586ce7a825a76d2845b8bcd06 /tools/qt-faststart.c | |
parent | 593a8614705eb1b098185db6e4d227c67e8c3597 (diff) | |
download | ffmpeg-d50fc2d07b7bd5ebbc8f8636c1c3245ab3503bb5.tar.gz |
Remove unnecessary checks before calling free
Feel free to revert if you can specify a concrete case where this actually
is necessary.
Originally committed as revision 23006 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/qt-faststart.c')
-rw-r--r-- | tools/qt-faststart.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c index 5c1d850462..6101fae805 100644 --- a/tools/qt-faststart.c +++ b/tools/qt-faststart.c @@ -310,7 +310,6 @@ int main(int argc, char *argv[]) fclose(infile); fclose(outfile); free(moov_atom); - if (ftyp_atom_size > 0) free(ftyp_atom); return 0; @@ -319,7 +318,6 @@ error_out: fclose(infile); fclose(outfile); free(moov_atom); - if (ftyp_atom_size > 0) free(ftyp_atom); return 1; } |