1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Derek Buitenhuis 2018-01-01 11:28:37 -05:00
parent 6470abc740
commit 631fa0432b

View File

@ -1037,7 +1037,6 @@ static int load_apply_palette(FFFrameSync *fs)
error:
av_frame_free(&master);
av_frame_free(&second);
return ret;
}