avcodec/rawdec: Check height and packet size
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Jan 2016 02:42:45 +0000 (03:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Jan 2016 10:07:42 +0000 (11:07 +0100)
commit46f67f4a34cab5f5686baf1605dd77d3c70740b5
tree349dc48cbaa1192811fd39d61ba07a24a3d08cfc
parent82325dbec144114f213a4f29450b7f5153b6ef0f
avcodec/rawdec: Check height and packet size

Avoids potential division by 0

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rawdec.c