avformat/movenc: Explicitly address potential division by zero.