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
1 changed files with 0 additions and 1 deletions

View File

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