aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libopusdec.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:28:07 +0100
commit9b506280dd9b95b944676316ae3f8ea5605a7a10 (patch)
tree49994a44afa05cd448566e9ee65f40c5827c1455 /libavcodec/libopusdec.c
parent312757eb848b96bcc1e0df17312b11a24c4f18d3 (diff)
downloadffmpeg-9b506280dd9b95b944676316ae3f8ea5605a7a10.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/libopusdec.c')
0 files changed, 0 insertions, 0 deletions