fix memleak, based upon a patch by Wolfram Gloger

Originally committed as revision 4947 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 19 years ago
parent 8cb90572a2
commit 8720de5b76
  1. 1
      output_example.c

@ -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]);
}

Loading…
Cancel
Save