avfilter/vf_palettegen: Fix leak and simplify code
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 21 Jan 2017 21:09:03 +0000 (22:09 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 21 Jan 2017 21:40:14 +0000 (22:40 +0100)
commite740e9c79807b9d0174c037a6b3062b7057d436b
treec6e94ae641d7fd5abf5c0a2426318108ff1e04e5
parentd60f090dd187ef8cdd64c556f4820491f1caa23d
avfilter/vf_palettegen: Fix leak and simplify code

Fixes CID1270818

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_palettegen.c