avcodec: properly check pkt_timebase for validity
Unset/invalid timebases have a zero numerator. This makes the checks consistent with other timebase checks and fixes an integer division by 0.
Showing
Please
register
or
sign in
to comment