[FFmpeg-cvslog] r23006 - trunk/tools/qt-faststart.c
mstorsjo
subversion
Sat May 1 23:02:23 CEST 2010
Author: mstorsjo
Date: Sat May 1 23:02:23 2010
New Revision: 23006
Log:
Remove unnecessary checks before calling free
Feel free to revert if you can specify a concrete case where this actually
is necessary.
Modified:
trunk/tools/qt-faststart.c
Modified: trunk/tools/qt-faststart.c
==============================================================================
--- trunk/tools/qt-faststart.c Sat May 1 20:45:02 2010 (r23005)
+++ trunk/tools/qt-faststart.c Sat May 1 23:02:23 2010 (r23006)
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list