avcodec/dpx: extract frame rate

Fixes part of Ticket3511

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>