aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/targa_y216dec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-09 23:23:16 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-25 22:21:52 +0100
commit1dc59aaf61ec547bd1272453d0265e51929ab0ef (patch)
tree64294d7c827a29672c3db85f812f327fa25d871f /libavcodec/targa_y216dec.c
parent9aaddbf0efd3f9649d373a51eedc249ce1be8c83 (diff)
downloadffmpeg-1dc59aaf61ec547bd1272453d0265e51929ab0ef.tar.gz
pgssubdec: only set w/h/linesize when allocating data
Rects with positive w/h/linesize but no data are invalid. Reviewed-by: Petri Hintukainen <phintuka@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 995512328ed84bb737bc364e4ef6fba1994f062a) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/targa_y216dec.c')
0 files changed, 0 insertions, 0 deletions