mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 22:36:59 +00:00
rawdec: don't leak option strings.
This commit is contained in:
parent
bd7c1d35a6
commit
a606aa7570
@ -97,7 +97,6 @@ int ff_raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
st->codec->width = width;
|
st->codec->width = width;
|
||||||
st->codec->height = height;
|
st->codec->height = height;
|
||||||
st->codec->pix_fmt = pix_fmt;
|
st->codec->pix_fmt = pix_fmt;
|
||||||
break;
|
|
||||||
fail:
|
fail:
|
||||||
av_freep(&s1->video_size);
|
av_freep(&s1->video_size);
|
||||||
av_freep(&s1->pixel_format);
|
av_freep(&s1->pixel_format);
|
||||||
|
Loading…
Reference in New Issue
Block a user