summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-03 07:37:44 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-03 08:11:17 +0200
commita606aa7570ef71c33569d64cda1b42743eb90682 (patch)
tree47a1120c53b3db3fcf6a719563b6ec4e21ebaf38 /libavformat/rawdec.c
parentbd7c1d35a603dd07818d648c08839844bab902ce (diff)
rawdec: don't leak option strings.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 4f974d7045..87583e1cd9 100644
--- a/libavformat/rawdec.c
+++ b/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);