free ftyp atom
Originally committed as revision 5187 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d59518d45d
commit
21c5aca65a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue