aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2002-12-03 19:40:35 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2002-12-03 19:40:35 +0000
commit855ea723b0ea450137e54674179751c14e8fc6b5 (patch)
treee8c81d27ce40b9c8f4f064cf06b464e26fed4d09 /ffmpeg.c
parent17308326396778cd31451ef7a69c36c7ccb7cab7 (diff)
downloadffmpeg-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9defc3cf3b..2e76f384ea 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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;
}