Revision 3c132023 ffmpeg.c

View differences:

ffmpeg.c
3942 3942
        int j;
3943 3943
        if (!(s->oformat->flags & AVFMT_NOFILE))
3944 3944
            url_fclose(&s->pb);
3945
        for(j=0;j<s->nb_streams;j++)
3945
        for(j=0;j<s->nb_streams;j++) {
3946
            av_free(s->streams[j]->codec);
3946 3947
            av_free(s->streams[j]);
3948
        }
3947 3949
        av_free(s);
3948 3950
    }
3949 3951
    for(i=0;i<nb_input_files;i++)

Also available in: Unified diff