Add init and uninit functions to cmdutils, reduces code duplication
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 2 Oct 2010 08:44:33 +0000 (08:44 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 2 Oct 2010 08:44:33 +0000 (08:44 +0000)
commita5c33faaccec6787419fe373a9e7ae0932b15ee1
tree9b0f45a55539b3260f1db09053eb450435dfce7d
parent05931ab763c873198947142fc84dfe6c8c285fd6
Add init and uninit functions to cmdutils, reduces code duplication
between ffmpeg and ffplay and avoids a valgrind error by freeing
avformat_opts->key.

Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
cmdutils.c
cmdutils.h
ffmpeg.c
ffplay.c