mpeg12dec: move checks out of decode picture coding extension.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 7 Aug 2012 15:59:19 +0000 (17:59 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 7 Aug 2012 15:59:19 +0000 (17:59 +0200)
commit2f6f2f4f73c068979829e785d08cb1dd345c7fc8
tree938579d329f479558cef6811a53e54ed66205517
parent7febc5aa93c16cfdeda603950af5c76e087c7b56
mpeg12dec: move checks out of decode picture coding extension.

Fixes out of array reads
Fixes Ticket1330

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