[FFmpeg-devel] [PATCH 0/2] Smll vf_paletteuse error branch fixes

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Jan 1 18:28:35 EET 2018


Found via nullfuzer. Repro'd via:

FUZZ_SEED=1514396029 /home/daemon404/ffmpeg/ffmpeg -nostdin -nostats -cpuflags all -hwaccel none \
    -threads 1 -thread_type frame+slice -i /home/daemon404/FATE/filter/anim.mkv -hwaccel none -threads 1 \
    -thread_type frame+slice -i /home/daemon404/FATE/filter/anim-palette.png -lavfi paletteuse=bayer \
    -pix_fmt bgra -bitexact -f framecrc -

Derek Buitenhuis (2):
  vf_paletteuse: Add error checking to apply_palette
  vf_paletteuse: Don't free the second frame from
    ff_framesync_dualinput_get_writable on error

 libavfilter/vf_paletteuse.c | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

-- 
1.8.3.1



More information about the ffmpeg-devel mailing list