Vignesh Venkatasubramanian <vigneshv <at> google.com> writes:

> >> +    oc->streams = NULL;
> >> +    oc->nb_streams = 0;
> >> +    avformat_free_context(oc);
> >
> > The first two seem unnecessary if you call
> > avformat_free_context().
> 
> The first two lines are intentional.

Sorry about the comment;-)

Carl Eugen

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to