diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2018-01-01 11:28:37 -0500 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2018-01-03 13:02:27 -0500 |
commit | 631fa0432be8968e0fd372595749b918224946df (patch) | |
tree | e4eb9b7c26a1790170b006a9cebf550298034c43 /libavfilter | |
parent | 6470abc740367cc881c181db866891f8dd1d342f (diff) | |
download | ffmpeg-631fa0432be8968e0fd372595749b918224946df.tar.gz |
vf_paletteuse: Don't free the second frame from ff_framesync_dualinput_get_writable on error
This fixes a double free in he error case.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_paletteuse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c index 961b55726d..604a8af29c 100644 --- a/libavfilter/vf_paletteuse.c +++ b/libavfilter/vf_paletteuse.c @@ -1037,7 +1037,6 @@ static int load_apply_palette(FFFrameSync *fs) error: av_frame_free(&master); - av_frame_free(&second); return ret; } |