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:
parent
6470abc740
commit
631fa0432b
@ -1037,7 +1037,6 @@ static int load_apply_palette(FFFrameSync *fs)
|
||||
|
||||
error:
|
||||
av_frame_free(&master);
|
||||
av_frame_free(&second);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user