On 13/12/13 23:01, Martin Storsjö wrote: > From: Michael Niedermayer <[email protected]> > > --- > libavformat/sdp.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/sdp.c b/libavformat/sdp.c > index 186f83b..23bb172 100644 > --- a/libavformat/sdp.c > +++ b/libavformat/sdp.c > @@ -532,6 +532,7 @@ static char *sdp_write_media_attributes(char *buff, int > size, AVCodecContext *c, > break; > default: > av_log(c, AV_LOG_ERROR, "Unsupported pixel format.\n"); > + av_free(config); > return NULL; > } > >
first check for the pix_format and then format the config maybe? _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
