dpx: include offset in the total_size calculation
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 16:54:00 +0000 (17:54 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 16:54:00 +0000 (17:54 +0100)
commitcb85779d459c6486acbbf060b3f169779424583e
tree092bbe1989e1b570fffc8b34c6de17549863a700
parent151067bbc2200e3130eb9e4bab242dfd8db78761
dpx: include offset in the  total_size calculation

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dpx.c