mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
free ftyp atom
Originally committed as revision 5187 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d59518d45d
commit
21c5aca65a
@ -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…
Reference in New Issue
Block a user