jvdec: check videosize
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 28 May 2012 15:21:29 +0000 (17:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Jun 2012 18:38:29 +0000 (20:38 +0200)
commit3e4eea6c3255ccbb059db6d5998147597e9ceccd
tree6a1e307695c02ded6c14833061b73cb67f3776c8
parentcc0fec8393ee47d8b173288b35e161fa68b0685d
jvdec: check videosize

Fixes null ptr dereference
fixes Ticket1364

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b4904e804d3b1c56ac4f5d3386b15daae98fca2d)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jvdec.c