1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

fix memleak, based upon a patch by Wolfram Gloger

Originally committed as revision 4947 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-02-06 12:45:52 +00:00
parent 8cb90572a2
commit 8720de5b76

View File

@ -512,6 +512,7 @@ int main(int argc, char **argv)
/* free the streams */
for(i = 0; i < oc->nb_streams; i++) {
av_freep(&oc->streams[i]->codec);
av_freep(&oc->streams[i]);
}