diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-12-03 19:40:35 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-12-03 19:40:35 +0000 |
commit | 855ea723b0ea450137e54674179751c14e8fc6b5 (patch) | |
tree | e8c81d27ce40b9c8f4f064cf06b464e26fed4d09 /ffmpeg.c | |
parent | 17308326396778cd31451ef7a69c36c7ccb7cab7 (diff) | |
download | ffmpeg-855ea723b0ea450137e54674179751c14e8fc6b5.tar.gz |
* two functions to handle allocation of static data more simple
av_mallocz_static - called for every static data table
av_free_static - called when ffmpeg is no longer needed and should free
all static resources
* simple usage shown in mpegaudiodec.c
Originally committed as revision 1301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2667,5 +2667,6 @@ int main(int argc, char **argv) for(i=0;i<nb_input_files;i++) av_close_input_file(input_files[i]); + av_free_static(); return 0; } |