avidec: simplify, using av_rescale_q() instead of av_rescale()