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>
Sun, 15 Jul 2018 17:25:36 +0000 (19:25 +0200)
commit03af6ab540ccf0987da27dab71cf65eb5aa6136d
tree5ad814354bb824c6681215a7e743104b1ca8cf03
parent9ffbda72c768a97d017aef42261dd5d657d4af6f
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