Commit 8720de5b authored by Michael Niedermayer's avatar Michael Niedermayer

fix memleak, based upon a patch by Wolfram Gloger

Originally committed as revision 4947 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8cb90572
......@@ -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]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment