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(infile);
|
||||||
fclose(outfile);
|
fclose(outfile);
|
||||||
free(moov_atom);
|
free(moov_atom);
|
||||||
|
if (ftyp_atom_size > 0)
|
||||||
|
free(ftyp_atom);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@ -295,5 +297,7 @@ error_out:
|
|||||||
fclose(infile);
|
fclose(infile);
|
||||||
fclose(outfile);
|
fclose(outfile);
|
||||||
free(moov_atom);
|
free(moov_atom);
|
||||||
|
if (ftyp_atom_size > 0)
|
||||||
|
free(ftyp_atom);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user