rawdec: don't leak option strings.

pull/2/head
Anton Khirnov 14 years ago
parent bd7c1d35a6
commit a606aa7570
  1. 1
      libavformat/rawdec.c

@ -97,7 +97,6 @@ int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
st->codec->width = width;
st->codec->height = height;
st->codec->pix_fmt = pix_fmt;
break;
fail:
av_freep(&s1->video_size);
av_freep(&s1->pixel_format);

Loading…
Cancel
Save