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, 16 Jul 2018 17:16:13 +0000 (19:16 +0200)
commit28e0e494ee6499e7c37255e54453d791ff79ae54
tree415911e6fd8565b0c15b690cb036869d47c2fe99
parentc8ca54961dcc49ac7eb6353b6c007be3a0dfe1cc
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