aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/file_open.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-27 00:38:57 +0100
commit5d2f1ffef1f26e4d66c8e63ab1101da179af11e6 (patch)
tree5ad1f99d7da60c37a3f5d52f2a54c72902174352 /libavcodec/file_open.c
parent80b85300ae0b8c6c1bb813a4390d94e3ea87b1da (diff)
downloadffmpeg-5d2f1ffef1f26e4d66c8e63ab1101da179af11e6.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/file_open.c')
0 files changed, 0 insertions, 0 deletions