[FFmpeg-cvslog] rawdec: don't leak option strings.
Anton Khirnov
git at videolan.org
Sat Jun 4 06:39:58 CEST 2011
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Jun 3 07:37:44 2011 +0200| [a606aa7570ef71c33569d64cda1b42743eb90682] | committer: Anton Khirnov
rawdec: don't leak option strings.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a606aa7570ef71c33569d64cda1b42743eb90682
---
libavformat/rawdec.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 4f974d7..87583e1 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);
More information about the ffmpeg-cvslog
mailing list