avcodec/imgconvert: fix possible null pointer dereference
authorSimon Thelen <ffmpeg-dev@c-14.de>
Tue, 3 Apr 2018 12:41:33 +0000 (14:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commite7dc6231e2630ad61d4bab12322adffe327e79e5
tree35d716a6cfc948953f5e86106a666556c199ff5a
parent0c9c4c3103c2e980dbebb6622e05e1be4ee65a11
avcodec/imgconvert: fix possible null pointer dereference

regression since 354b26a3945eadd4ed8fcd801dfefad2566241de

(cherry picked from commit 8c2c97403baf95d0facb53f03e468f023eb943e1)
(cherry picked from commit c1e172c2e14ef059dac632f7c67f081dfecd30dc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/imgconvert.c