lavf: Do not compute the packet duration based on the bitrate if the frame_size can...