rawdec: don't leak option strings.
authorAnton Khirnov <anton@khirnov.net>
Fri, 3 Jun 2011 05:37:44 +0000 (07:37 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Jun 2011 06:11:17 +0000 (08:11 +0200)
libavformat/rawdec.c

index 4f974d7..87583e1 100644 (file)
@@ -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);