projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
593a861
)
Remove unnecessary checks before calling free
author
Martin Storsjö
<martin@martin.st>
Sat, 1 May 2010 21:02:23 +0000
(21:02 +0000)
committer
Martin Storsjö
<martin@martin.st>
Sat, 1 May 2010 21:02:23 +0000
(21:02 +0000)
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
tools/qt-faststart.c
patch
|
blob
|
history
diff --git
a/tools/qt-faststart.c
b/tools/qt-faststart.c
index
5c1d850
..
6101fae
100644
(file)
--- 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;
}